From: Cristy Date: Sun, 14 Jul 2019 13:36:34 +0000 (-0400) Subject: Eliminate compiler warning X-Git-Tag: 7.0.8-54~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38cf90fdcd792f449ff24236f57adc3b3b96ad5b;p=imagemagick Eliminate compiler warning --- diff --git a/MagickCore/nt-base.c b/MagickCore/nt-base.c index 8c2359fd5..bf2d904c7 100644 --- a/MagickCore/nt-base.c +++ b/MagickCore/nt-base.c @@ -1739,8 +1739,8 @@ MagickExport MagickBooleanType NTLongPathsEnabled() long_paths_enabled=0; return(MagickFalse); } - status=RegQueryValueExA(registry_key,"LongPathsEnabled",0,&type,&value, - &size); + status=RegQueryValueExA(registry_key,"LongPathsEnabled",0,&type, + (LPBYTE) &value,&size); RegCloseKey(registry_key); if (status != ERROR_SUCCESS) {