Sebastian Lackner : mmsystem.dll16: Fix argument order in GlobalAlloc16 call.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 10 11:11:09 CST 2016


Module: wine
Branch: master
Commit: 7260223ce56e96d1bde34610156f6e7833a98214
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7260223ce56e96d1bde34610156f6e7833a98214

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Wed Feb 10 08:14:55 2016 +0100

mmsystem.dll16: Fix argument order in GlobalAlloc16 call.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mmsystem.dll16/mmsystem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mmsystem.dll16/mmsystem.c b/dlls/mmsystem.dll16/mmsystem.c
index fdf1318..d90240d 100644
--- a/dlls/mmsystem.dll16/mmsystem.c
+++ b/dlls/mmsystem.dll16/mmsystem.c
@@ -1943,7 +1943,7 @@ LRESULT	WINAPI mmThreadCreate16(FARPROC16 fpThreadAddr, LPHANDLE16 lpHndl, DWORD
 
     TRACE("(%p, %p, %08x, %08x)!\n", fpThreadAddr, lpHndl, dwPmt, dwFlags);
 
-    hndl = GlobalAlloc16(sizeof(WINE_MMTHREAD), GMEM_SHARE|GMEM_ZEROINIT);
+    hndl = GlobalAlloc16(GMEM_SHARE|GMEM_ZEROINIT, sizeof(WINE_MMTHREAD));
 
     if (hndl == 0) {
 	ret = 2;




More information about the wine-cvs mailing list