/****************************************************************************
- * RRDtool 1.2.8 Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.2.9 Copyright by Tobi Oetiker, 1997-2005
****************************************************************************
* rrd_graph_helper.c commandline parser functions
* this code initially written by Alex van den Bogaerdt
*/
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: