Skip to content

Commit b029713

Browse files
committed
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".
1 parent cb6240b commit b029713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commit_graph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ static int commit_graph_write(
10791079
error = git_str_put(&commit_data, (const char *)&word, sizeof(word));
10801080
if (error < 0)
10811081
goto cleanup;
1082-
word = ntohl((uint32_t)(commit_time & 0xffffffffull));
1082+
word = ntohl((uint32_t)(commit_time & UINT64_C(0xffffffff)));
10831083
error = git_str_put(&commit_data, (const char *)&word, sizeof(word));
10841084
if (error < 0)
10851085
goto cleanup;

0 commit comments

Comments
 (0)