From f07403745dc007f79d3d136fd84b09af71529156 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 11 Jul 2017 16:40:24 -0400 Subject: [PATCH] Squash compiler warning --- coders/msl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/msl.c b/coders/msl.c index b0b1b43e9..a3fa531d0 100644 --- a/coders/msl.c +++ b/coders/msl.c @@ -7454,7 +7454,7 @@ static void MSLCharacters(void *context,const xmlChar *c,int length) else { msl_info->content=(char *) NULL; - if (~length >= (MagickPathExtent-1)) + if (~(size_t) length >= (MagickPathExtent-1)) msl_info->content=(char *) AcquireQuantumMemory(length+MagickPathExtent, sizeof(*msl_info->content)); if (msl_info->content != (char *) NULL) -- 2.40.0