diff options
Diffstat (limited to 'src/commit_graph.c')
-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; |