tUse %u for uint - st - [fork] customized build of st, the simple terminal | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3a5053f6c19195df5fde84a7e5eb3217443bb9ab | |
parent 7ab6c92e18d468968811256e808b02309c160a22 | |
Author: [email protected] <[email protected]> | |
Date: Wed, 22 Apr 2015 15:07:59 +0200 | |
Use %u for uint | |
Signed-off-by: Daniel Martà <[email protected]> | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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… | |
- 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); |