Code

Better positioning of the pie when it is alone on the canvas
[rrdtool.git] / src / rrd_cgi.c
index 0c4f6de7be3ee91dc9ec9f330acbc8198f08410d..f6a5908c4ec5f5ae695057bbc7f6f13fe4e255a4 100644 (file)
@@ -459,7 +459,7 @@ char* scanargs(char *aLine, long *argc, char ***args)
   getP = aLine;
   putP = aLine;
   while (*getP && !( !Quote  && (braket == 0) && ((*getP) == '>'))){
-    if (*getP < ' ') *getP = ' '; /*remove all special chars*/
+    if ((unsigned)*getP < ' ') *getP = ' '; /*remove all special chars*/
     switch (*getP) {
     case ' ': 
       if (Quote){