From c0b0b7754f0eeb56aca75b615141d5ca345e579f Mon Sep 17 00:00:00 2001 From: Niall Newman Date: Thu, 24 Feb 2022 16:57:47 +0000 Subject: [PATCH] Fix build error due to use of windows typedef --- libyara/modules/pe/pe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyara/modules/pe/pe.c b/libyara/modules/pe/pe.c index b4ea128879..e47bfcc8e0 100644 --- a/libyara/modules/pe/pe.c +++ b/libyara/modules/pe/pe.c @@ -4108,7 +4108,7 @@ int module_load( set_integer(0, module_object, "is_pe"); - PVOID base = NULL; + void* base = ((void *)0); #if defined(USE_WINDOWS_PROC)