Commit 9706f9c1d for imagemagick.org
commit 9706f9c1d296d0e78df612b83ec57c411007c0af
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sun Feb 22 21:24:34 2026 -0500
eliminate compiler warning
diff --git a/MagickCore/blob.c b/MagickCore/blob.c
index 00d5b554b..5166fcfcd 100644
--- a/MagickCore/blob.c
+++ b/MagickCore/blob.c
@@ -3373,8 +3373,8 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info,
{
flags=O_RDWR | O_CREAT | O_TRUNC | O_BINARY;
type="w+b";
- status=IsRightsAuthorized(SystemPolicyDomain,ReadPolicyRights |
- WritePolicyRights,"follow");
+ status=IsRightsAuthorized(SystemPolicyDomain,(const PolicyRights) (
+ ReadPolicyRights | WritePolicyRights),"follow");
break;
}
case AppendBlobMode:
@@ -3388,8 +3388,8 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info,
{
flags=O_RDWR | O_CREAT | O_APPEND | O_BINARY;
type="a+b";
- status=IsRightsAuthorized(SystemPolicyDomain,ReadPolicyRights |
- WritePolicyRights,"follow");
+ status=IsRightsAuthorized(SystemPolicyDomain,(const PolicyRights)
+ (ReadPolicyRights | WritePolicyRights),"follow");
break;
}
default: