isprint cast.

This commit is contained in:
Simon Kelley committed 2012-04-29 16:01:28 +01:00
1 parent 231d061b45
commit 11263a462c
1 file changed
+1 -1
+1 -1
View File
@@ -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;