[libpng16] Fixed #include in filter_neon_intrinsics.c and ctype macros. The

ctype char checking macros take an unsigned char argument, not a signed char.
This commit is contained in:
John Bowler
2013-11-04 13:44:37 -06:00
committed by Glenn Randers-Pehrson
parent dee5a914fc
commit 08b0620202
4 changed files with 11 additions and 6 deletions

View File

@@ -15,6 +15,7 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <errno.h>
#include <assert.h>
@@ -908,10 +909,10 @@ emit_string(const char *str, FILE *out)
*/
{
for (; *str; ++str)
if (isgraph(*str))
if (isgraph(UCHAR_MAX & *str))
putc(*str, out);
else if (isspace(*str))
else if (isspace(UCHAR_MAX & *str))
putc('_', out);
else