Skip to content

Commit e160e83

Browse files
author
Cristy
committed
eliminate compiler exception
1 parent d530947 commit e160e83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

magick/constitute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ static MagickBooleanType GetImplicitDataImageType(const char *data_url,
10491049
p++;
10501050
if (p == type)
10511051
return(MagickFalse);
1052-
slash=memchr(type,'/',(size_t) (p-type));
1052+
slash=(const char *) memchr(type,'/',(size_t) (p-type));
10531053
if ((slash == (const char *) NULL) || ((slash+1) >= p))
10541054
return(MagickFalse);
10551055
offset=(size_t) (p-(slash+1));

0 commit comments

Comments
 (0)