aboutsummaryrefslogtreecommitdiff
path: root/colour.c
diff options
context:
space:
mode:
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);
}