aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authormvdan@mvdan.cc <mvdan@mvdan.cc>2015-04-22 15:07:59 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-27 10:09:15 +0200
commit3a5053f6c19195df5fde84a7e5eb3217443bb9ab (patch)
treee828823689028cd0cd1bd4d1840d0abe8ca32b9c /st.c
parent7ab6c92e18d468968811256e808b02309c160a22 (diff)
downloadst-3a5053f6c19195df5fde84a7e5eb3217443bb9ab.tar.gz
st-3a5053f6c19195df5fde84a7e5eb3217443bb9ab.tar.bz2
Use %u for uint
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
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);