From 3a5053f6c19195df5fde84a7e5eb3217443bb9ab Mon Sep 17 00:00:00 2001 From: "mvdan@mvdan.cc" Date: Wed, 22 Apr 2015 15:07:59 +0200 Subject: [PATCH] Use %u for uint MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Martí --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 60c07d0..6f8d83f 100644 --- a/st.c +++ b/st.c @@ -1744,7 +1744,7 @@ tdefcolor(int *attr, int *npar, int l) { b = attr[*npar + 4]; *npar += 4; if(!BETWEEN(r, 0, 255) || !BETWEEN(g, 0, 255) || !BETWEEN(b, 0, 255)) - fprintf(stderr, "erresc: bad rgb color (%d,%d,%d)\n", + fprintf(stderr, "erresc: bad rgb color (%u,%u,%u)\n", r, g, b); else idx = TRUECOLOR(r, g, b); -- 2.20.1