[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.
diff --git a/ANNOUNCE b/ANNOUNCE
index 67de133..afda581 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,5 +1,5 @@
-Libpng 1.6.7rc02 - November 2, 2013
+Libpng 1.6.7rc02 - November 4, 2013
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -93,7 +93,9 @@
Version 1.6.7rc01 [November 2, 2013]
No changes.
-Version 1.6.7rc02 [November 2, 2013]
+Version 1.6.7rc02 [November 4, 2013]
+ Fixed #include in filter_neon_intrinsics.c and ctype macros. The ctype char
+ checking macros take an unsigned char argument, not a signed char.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
diff --git a/CHANGES b/CHANGES
index dce539f..da4557a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4707,7 +4707,9 @@
Version 1.6.7rc01 [November 2, 2013]
No changes.
-Version 1.6.7rc02 [November 2, 2013]
+Version 1.6.7rc02 [November 4, 2013]
+ Fixed #include in filter_neon_intrinsics.c and ctype macros. The ctype char
+ checking macros take an unsigned char argument, not a signed char.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
diff --git a/arm/filter_neon_intrinsics.c b/arm/filter_neon_intrinsics.c
index ba39d61..2246d71 100644
--- a/arm/filter_neon_intrinsics.c
+++ b/arm/filter_neon_intrinsics.c
@@ -12,7 +12,7 @@
* and license in png.h
*/
-#include "pngpriv.h"
+#include "../pngpriv.h"
/* This code requires -mfpu=neon on the command line: */
#if PNG_ARM_NEON_IMPLEMENTATION == 1 /* intrinsics code */
diff --git a/contrib/tools/pngfix.c b/contrib/tools/pngfix.c
index dd74b83..6409d16 100644
--- a/contrib/tools/pngfix.c
+++ b/contrib/tools/pngfix.c
@@ -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 @@
*/
{
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