From 38cf90fdcd792f449ff24236f57adc3b3b96ad5b Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 14 Jul 2019 09:36:34 -0400 Subject: [PATCH] Eliminate compiler warning --- MagickCore/nt-base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.40.0