diff options
author | Calvin Buckley <calvin@cmpct.info> | 2021-10-18 23:30:49 -0300 |
---|---|---|
committer | Calvin Buckley <calvin@cmpct.info> | 2021-10-18 23:30:49 -0300 |
commit | b029713ae13bfc9edd08d4d7f9570d7b8e0bb0ec (patch) | |
tree | a9b0044ec885ccfbc203d010fec7df4ff0a30376 | |
parent | cb6240bc751f78abfcc24de2339bc49b6aeefa87 (diff) | |
download | libgit2-b029713ae13bfc9edd08d4d7f9570d7b8e0bb0ec.tar.gz |
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".
-rw-r--r-- | src/commit_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |