From: Steven Grimm Date: Sun, 3 Jun 2007 21:12:06 +0000 (-0700) Subject: Fix integer type mismatch on 64-bit systems X-Git-Tag: tig-0.8~3 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tig/commitdiff_plain/07c3971e15e6eb8279ca1a112ab3b2cdc3ca020c?hp=07c3971e15e6eb8279ca1a112ab3b2cdc3ca020c Fix integer type mismatch on 64-bit systems fprintf wants an int parameter for the field width of a "%.*s" expression, but the code was passing a size_t instead. This potentially broke systems where sizeof(size_t) != sizeof(int). And even on systems where it did't break, it still caused a compiler warning. Signed-off-by: Jonas Fonseca ---