summaryrefslogtreecommitdiffstats
path: root/colour.c
diff options
context:
space:
mode:
authornicm <nicm>2015-03-31 17:45:10 +0000
committernicm <nicm>2015-03-31 17:45:10 +0000
commit02df86079b1f3155313ebb6f891cf6cf593d3ad9 (patch)
treee7ae66647bb6a838166789e3525cff8dcc755f28 /colour.c
parentcd9ccbc1e98b48fd8bfb64356664313a8eb1f7b0 (diff)
Fix some format specifier nits, from Ben Boeckel.
Diffstat (limited to 'colour.c')
-rw-r--r--colour.c2
1 files changed, 1 insertions, 1 deletions
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);
}