Commit f9da83e1e for imagemagick.org
commit f9da83e1e7454e646a31569504205a033f0dee6f
Author: Cristy <urban-warrior@imagemagick.org>
Date: Tue Sep 29 11:40:07 2026 -0400
cosmetic
diff --git a/coders/c2pa.c b/coders/c2pa.c
index 1d3c1ec38..923211ad5 100644
--- a/coders/c2pa.c
+++ b/coders/c2pa.c
@@ -161,12 +161,12 @@ static Image *ReadC2PAImage(const ImageInfo *image_info,
return(image);
}
if ((GetPathAttributes(json_filename,&attributes) != MagickFalse) &&
- ((attributes.st_size < 0) || ((MagickSizeType) attributes.st_size >
- GetMaxProfileSize())))
+ ((attributes.st_size < 0) ||
+ ((MagickSizeType) attributes.st_size > GetMaxProfileSize())))
{
(void) ThrowMagickException(exception,GetMagickModule(),
- ResourceLimitWarning,"ProfileSizeExceedsLimit","`%llu'",
- (unsigned long long) attributes.st_size);
+ ResourceLimitWarning,"ProfileSizeExceedsLimit","`%.17g'",
+ (double) attributes.st_size);
(void) RelinquishUniqueFileResource(json_filename);
return(image);
}