Commit b029713a by Calvin Buckley

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".
parent cb6240bc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment