From b029713ae13bfc9edd08d4d7f9570d7b8e0bb0ec Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Mon, 18 Oct 2021 23:30:49 -0300 Subject: Also correct this long long constant I missed this because I searched for digits before ULL, otherwise it would match terms like "null" or "fully". --- src/commit_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commit_graph.c b/src/commit_graph.c index 397bee5e2..82b3901b3 100644 --- a/src/commit_graph.c +++ b/src/commit_graph.c @@ -1079,7 +1079,7 @@ static int commit_graph_write( error = git_str_put(&commit_data, (const char *)&word, sizeof(word)); if (error < 0) goto cleanup; - word = ntohl((uint32_t)(commit_time & 0xffffffffull)); + word = ntohl((uint32_t)(commit_time & UINT64_C(0xffffffff))); error = git_str_put(&commit_data, (const char *)&word, sizeof(word)); if (error < 0) goto cleanup; -- cgit v1.2.1