commit | 8c50acb9d2522d4a2a80a929081e9f83af0bec90 | [log] [tgz] |
---|---|---|
author | Viktor Szakats <vszakats@users.noreply.github.com> | Wed Mar 29 23:54:40 2017 +0000 |
committer | Viktor Szakats <vszakats@users.noreply.github.com> | Wed Mar 29 23:54:40 2017 +0000 |
tree | 5dcc5694952305cf209f97c9cfc1b476c5f7f475 | |
parent | 92fcd25e9d1c37ece7eb9ba58bca2e69cc3a7582 [diff] [blame] |
silence clang -Wcomma warnings
diff --git a/pngrtran.c b/pngrtran.c index 16c1ed6..e87eaf3 100644 --- a/pngrtran.c +++ b/pngrtran.c
@@ -4601,7 +4601,9 @@ png_byte *sp = row + row_info->rowbytes; /* source, last byte + 1 */ png_byte *dp = sp + row_info->rowbytes; /* destination, end + 1 */ while (dp > sp) - dp[-2] = dp[-1] = *--sp, dp -= 2; + { + dp[-2] = dp[-1] = *--sp; dp -= 2; + } row_info->rowbytes *= 2; row_info->bit_depth = 16;