Commit b8f4cd4d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelint silencing.

(Did you remember that toupper() can be called with EOF ?)
parent 6038894b
......@@ -59,9 +59,9 @@ vmod_updown(struct sess *sp, int up, const char *s, va_list ap)
if (p != NULL) {
for (; b < e && *p != '\0'; p++)
if (up)
*b++ = toupper(*p);
*b++ = (char)toupper(*p);
else
*b++ = tolower(*p);
*b++ = (char)tolower(*p);
}
p = va_arg(ap, const char *);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment