pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab6c92
)
Use %u for uint
author
mvdan@mvdan.cc
<mvdan@mvdan.cc>
Wed, 22 Apr 2015 13:07:59 +0000
(15:07 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 27 Apr 2015 08:09:15 +0000
(10:09 +0200)
Signed-off-by: Daniel Martà <mvdan@mvdan.cc>
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
60c07d0
..
6f8d83f
100644
(file)
--- 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);