Skip to content

Commit

Permalink
Fixed a nasty bug which was preventing correct generation of the sign…
Browse files Browse the repository at this point in the history
…ature.
  • Loading branch information
nulltoken committed Dec 18, 2010
1 parent f70cbbc commit 8ea7fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signature.c
Expand Up @@ -193,7 +193,7 @@ int git_signature__write(git_odb_source *src, const char *header, const git_sign
hours = offset / 60;
mins = offset % 60;

return git__source_printf(src, "%s %s <%s> %u %c%02d%02d\n", header, sig->name, sig->email, sig->when.time, sign, hours, mins);
return git__source_printf(src, "%s %s <%s> %u %c%02d%02d\n", header, sig->name, sig->email, (unsigned)sig->when.time, sign, hours, mins);
}


0 comments on commit 8ea7fbc

Please sign in to comment.