Skip to content

Commit a83c608

Browse files
committed
Fixed compiler warning.
1 parent 97f89cf commit a83c608

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

MagickCore/profile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,8 +1318,8 @@ MagickExport MagickBooleanType ProfileImage(Image *image,const char *name,
13181318
source_info.channels,highres);
13191319
target_info.pixels=AcquirePixelThreadSet(image->columns,
13201320
target_info.channels,highres);
1321-
if ((source_info.pixels == (double **) NULL) ||
1322-
(target_info.pixels == (double **) NULL))
1321+
if ((source_info.pixels == (void **) NULL) ||
1322+
(target_info.pixels == (void **) NULL))
13231323
{
13241324
target_info.pixels=DestroyPixelThreadSet(target_info.pixels);
13251325
source_info.pixels=DestroyPixelThreadSet(source_info.pixels);

0 commit comments

Comments
 (0)