[hackers] [st] Use %u for uint || mvdan_AT_mvdan.cc
commit 3a5053f6c19195df5fde84a7e5eb3217443bb9ab
Author: mvdan_AT_mvdan.cc <mvdan_AT_mvdan.cc>
Date: Wed Apr 22 15:07:59 2015 +0200
Use %u for uint
Signed-off-by: Daniel Martà <mvdan_AT_mvdan.cc>
diff --git a/st.c b/st.c
index 60c07d0..6f8d83f 100644
--- a/st.c
+++ b/st.c
_AT_@ -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);
Received on Mon Apr 27 2015 - 12:22:36 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 27 2015 - 12:24:22 CEST