Commit 11263a46 authored by Simon Kelley's avatar Simon Kelley

isprint cast.

parent 231d061b
......@@ -627,7 +627,7 @@ static void sanitise(char *buf)
{
unsigned char *q, *r;
for (q = r = (unsigned char *)buf; *r; r++)
if (isprint(*r))
if (isprint((int)*r))
*(q++) = *r;
*q = 0;
......
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