[PATCH 1/2] include: Correct definition of PRTL_AVL_ALLOCATE_ROUTINE

Alex Henrie alexhenrie24 at gmail.com
Mon Jun 22 02:16:05 CDT 2020


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 include/ddk/ntddk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h
index b9f8295db8..497d42da39 100644
--- a/include/ddk/ntddk.h
+++ b/include/ddk/ntddk.h
@@ -165,7 +165,7 @@ typedef enum _RTL_GENERIC_COMPARE_RESULTS {
 
 typedef RTL_GENERIC_COMPARE_RESULTS (WINAPI *PRTL_AVL_COMPARE_ROUTINE)(struct _RTL_AVL_TABLE *, void *, void *);
 
-typedef void (WINAPI *PRTL_AVL_ALLOCATE_ROUTINE)(struct _RTL_AVL_TABLE *, LONG);
+typedef void * (WINAPI *PRTL_AVL_ALLOCATE_ROUTINE)(struct _RTL_AVL_TABLE *, LONG);
 
 typedef void (WINAPI *PRTL_AVL_FREE_ROUTINE )(struct _RTL_AVL_TABLE *, void *buffer);
 
-- 
2.27.0




More information about the wine-devel mailing list