Commit 8c93d2e0e for imagemagick.org
commit 8c93d2e0edab67cfcbd1a4a25fa3ab2857b46d19
Author: Cristy <urban-warrior@imagemagick.org>
Date: Fri Dec 4 17:40:44 2026 -0500
eliminate compiler warning
diff --git a/coders/pes.c b/coders/pes.c
index e796ac20a..e68cf88e9 100644
--- a/coders/pes.c
+++ b/coders/pes.c
@@ -73,6 +73,7 @@
#include "MagickCore/resource_.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
+#include "MagickCore/utility-private.h"
/*
Typedef declarations.
@@ -681,7 +682,7 @@ static Image *ReadPESImage(const ImageInfo *image_info,ExceptionInfo *exception)
{
if (unique_file != -1)
{
- (void) close(unique_file);
+ (void) close_utf8(unique_file);
(void) RelinquishUniqueFileResource(filename);
}
stitches=(PointInfo *) RelinquishMagickMemory(stitches);