Fix integer type mismatch on 64-bit systems
authorSteven Grimm <koreth@midwinter.com>
Sun, 3 Jun 2007 21:12:06 +0000 (14:12 -0700)
committerJonas Fonseca <fonseca@diku.dk>
Mon, 4 Jun 2007 06:39:48 +0000 (08:39 +0200)
commit07c3971e15e6eb8279ca1a112ab3b2cdc3ca020c
tree8e1c76bdf09d5694f7f0fd8f9c40980ed7a3bcce
parent4291ca047e95de44b7a9ef60583fe011e76359e0
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 <fonseca@diku.dk>
tig.c