From 26f541aa97ead9cfd1c446b8ee9538f271b3bb9b Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 24 Dec 2022 12:58:59 +0200 Subject: [PATCH] [BEEPMIDI] Make DeviceInfo structure 64 bit compatible Fixes winmm_winetest midi on x64 --- dll/win32/beepmidi/beepmidi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/beepmidi/beepmidi.c b/dll/win32/beepmidi/beepmidi.c index b23999845f9..5ab0287dd4d 100644 --- a/dll/win32/beepmidi/beepmidi.c +++ b/dll/win32/beepmidi/beepmidi.c @@ -83,7 +83,7 @@ typedef struct _DeviceInfo HDRVR mme_handle; HANDLE kernel_device; - DWORD callback; + DWORD_PTR callback; DWORD instance; DWORD flags;