From: oetiker Date: Fri, 27 May 2005 19:12:23 +0000 (+0000) Subject: remove one more warning X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=64a61838d25173dfed09eb1040c5eaad8e5e8933;p=rrdtool.git remove one more warning git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@598 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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: