Skip to content

Commit

Permalink
Corrected typecast.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Dec 12, 2021
1 parent 77b718c commit 87ce0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,7 @@ static MagickBooleanType SyncExifProfile(Image *image, StringInfo *profile)
{
if (number_bytes == 4)
{
(void) WriteProfileLong(endian,(size_t) (image->units+1),p);
(void) WriteProfileLong(endian,((size_t) image->units)+1,p);
break;
}
(void) WriteProfileShort(endian,(unsigned short) (image->units+1),p);
Expand Down

0 comments on commit 87ce0d8

Please sign in to comment.