Browse Source

Use %u for uint

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
master
mvdan@mvdan.cc 9 years ago
committed by Roberto E. Vargas Caballero
parent
commit
3a5053f6c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -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);


Loading…
Cancel
Save