X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_cgi.c;h=f6a5908c4ec5f5ae695057bbc7f6f13fe4e255a4;hb=35e66dd1f1a4c2d6934e74a137f047bc0c6a9c38;hp=0c4f6de7be3ee91dc9ec9f330acbc8198f08410d;hpb=285da1fa16e80919db972b1d7021c0b4705bedb1;p=rrdtool.git diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 0c4f6de..f6a5908 100644 --- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -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){