From 02df86079b1f3155313ebb6f891cf6cf593d3ad9 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 31 Mar 2015 17:45:10 +0000 Subject: Fix some format specifier nits, from Ben Boeckel. --- colour.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'colour.c') diff --git a/colour.c b/colour.c index b5efd6f1..82f8533a 100644 --- a/colour.c +++ b/colour.c @@ -147,7 +147,7 @@ colour_tostring(int c) static char s[32]; if (c & 0x100) { - xsnprintf(s, sizeof s, "colour%u", c & ~0x100); + xsnprintf(s, sizeof s, "colour%d", c & ~0x100); return (s); } -- cgit