[dev] [st] [PATCH] Use %u for uint

From: Daniel Martí <mvdan_AT_mvdan.cc>
Date: Wed, 22 Apr 2015 14:43:56 +0200

Signed-off-by: Daniel Martí <mvdan_AT_mvdan.cc>
---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 0204b2e..d5bf8f1 100644
--- a/st.c
+++ b/st.c
_AT_@ -1746,7 +1746,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 Wed Apr 22 2015 - 14:43:56 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 22 2015 - 15:12:11 CEST