Skip to content

Commit

Permalink
Corrected fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 26, 2024
1 parent 8a0be27 commit 865dd6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MagickCore/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1963,7 +1963,7 @@ static MagickBooleanType SetImageProfileInternal(Image *image,const char *name,
if (length != 0)
(void) ThrowMagickException(exception,GetMagickModule(),
ResourceLimitWarning,"ProfileSizeExceedsLimit","`%llu'",
(unsigned long) length);
(unsigned long long) length);
profile=DestroyStringInfo(profile);
return(MagickTrue);
}
Expand Down Expand Up @@ -2004,7 +2004,7 @@ MagickExport StringInfo *AcquireProfileStringInfo(const char *name,
if (length > GetMaxProfileSize())
(void) ThrowMagickException(exception,GetMagickModule(),
ResourceLimitWarning,"ProfileSizeExceedsLimit","`%llu'",
(unsigned long) length);
(unsigned long long) length);
else
{
profile=AcquireStringInfo(length);
Expand Down

0 comments on commit 865dd6b

Please sign in to comment.