X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph_helper.c;h=cefb76b389e175f804b65f384f5486240b571ce7;hb=64a61838d25173dfed09eb1040c5eaad8e5e8933;hp=6028b01b6f4bbe6c6443891aa874f39090384e9c;hpb=361a0fd38d7adf95847508f54c0bde9b3f98662e;p=rrdtool.git diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index 6028b01..cefb76b 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -119,7 +119,7 @@ rrd_parse_color(char *string, graph_desc_t *gdp) { */ i=0; - while (string[i] && isxdigit(string[i])) i++; + while (string[i] && isxdigit((unsigned int)string[i])) i++; if (string[i] != '\0') return 1; /* garbage follows hexdigits */ switch (i) { case 3: