diff options
Diffstat (limited to 'converter/other/winicontopam.c')
-rw-r--r-- | converter/other/winicontopam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/winicontopam.c b/converter/other/winicontopam.c index f6f89e11..b0dbbc07 100644 --- a/converter/other/winicontopam.c +++ b/converter/other/winicontopam.c @@ -86,7 +86,7 @@ parseCommandLine(int argc, const char **argv, opt3.short_allowed = false; opt3.allowNegNum = false; - pm_optParseOptions3(&argc, (char **)argv, opt3, sizeof(opt3), 0); + pm_optParseOptions4(&argc, argv, opt3, sizeof(opt3), 0); if (cmdlineP->allimages && cmdlineP->imageSpec) pm_error("You cannot specify both -allimages and -image"); @@ -1273,7 +1273,7 @@ convertImage(struct File * const icoP, image = readImage(icoP, dirEntryP); - if (MEMEQ(image, pngSignature, sizeof (pngSignature))) + if (memeq(image, pngSignature, sizeof (pngSignature))) convertPng(image, ofP, dirEntryP); else convertBmp(image, ofP, dirEntryP, needHeaderDump, wantAndMaskPlane); |