From b2855505b9cc0b206404e9a8da382bd20d7294e8 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 20 Oct 2015 16:33:40 +0300 Subject: [PATCH] ddraw: Use proper prototype for internal enumeration callback (PVS-Studio). Signed-off-by: Nikolay Sivov Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/ddraw/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 8631827cd5d..06b448f17d0 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -48,7 +48,7 @@ struct callback_info }; /* Enumeration callback for converting DirectDrawEnumerateA to DirectDrawEnumerateExA */ -static HRESULT CALLBACK enum_callback(GUID *guid, char *description, char *driver_name, +static BOOL CALLBACK enum_callback(GUID *guid, char *description, char *driver_name, void *context, HMONITOR monitor) { const struct callback_info *info = context;