summaryrefslogtreecommitdiff
path: root/src/sfnt/pngshim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfnt/pngshim.c')
-rw-r--r--src/sfnt/pngshim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c
index 90a56699f..503ea4330 100644
--- a/src/sfnt/pngshim.c
+++ b/src/sfnt/pngshim.c
@@ -57,8 +57,6 @@
{
unsigned int i = 0, limit;
- FT_UNUSED( png );
-
/* the `vector_size' attribute was introduced in gcc 3.1, which */
/* predates clang; the `__BYTE_ORDER__' preprocessor symbol was */
/* introduced in gcc 4.6 and clang 3.2, respectively */
@@ -78,7 +76,7 @@
limit = row_info->rowbytes - 16 + 1;
for ( ; i < limit; i += 16 )
{
- char* base = &data[i];
+ unsigned char* base = &data[i];
v82 s, s0, s1, a;
v82 ma = { 1, 1, 3, 3, 5, 5, 7, 7 };
@@ -106,6 +104,8 @@
}
#endif /* use `vector_size' */
+ FT_UNUSED( png );
+
limit = row_info->rowbytes;
for ( ; i < limit; i += 4 )
{