From: glennrp Date: Wed, 31 Dec 2014 17:45:09 +0000 (+0000) Subject: Use memcmp() == 0 instead of !memcmp() in coders/png.c X-Git-Tag: 7.0.1-0~1511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dfc26699a1aacdec9771115c4dcaf6c5c0a8f98;p=imagemagick Use memcmp() == 0 instead of !memcmp() in coders/png.c --- diff --git a/coders/png.c b/coders/png.c index 0c4aa719d..cf330777a 100644 --- a/coders/png.c +++ b/coders/png.c @@ -3605,7 +3605,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, " Reading PNG text chunk"); if (strlen(text[i].key) > 16 && - !memcmp(text[i].key, "Raw profile type ",17) == 0) + memcmp(text[i].key, "Raw profile type ",17) == 0) { const char *value;