From: Tobias Oetiker Date: Fri, 27 May 2005 19:12:23 +0000 (+0000) Subject: remove one more warning X-Git-Tag: 1.2.9~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b1fb7eefabf6e5f8a9aa335a0ec7cd0f6f258f0;p=thirdparty%2Frrdtool-1.x.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 6028b01b..cefb76b3 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: