summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c19a4c)
raw | patch | inline | side by side (parent: 1c19a4c)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 27 May 2005 19:12:23 +0000 (19:12 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 27 May 2005 19:12:23 +0000 (19:12 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@598 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_graph_helper.c | patch | blob | history |
diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c
index 6028b01b6f4bbe6c6443891aa874f39090384e9c..cefb76b389e175f804b65f384f5486240b571ce7 100644 (file)
--- a/src/rrd_graph_helper.c
+++ b/src/rrd_graph_helper.c
*/
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: