PATCH: WOW_CallProc32W16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

from the newsgroup, and 1 warning fix.

Ciao, Marcus

Changelog:
	Eric Pouech <eric.pouech@wanadoo.fr>
	Support 14 and 15 arguments in WOW_CallProc32W16.
	

Index: dlls/kernel/wowthunk.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/wowthunk.c,v
retrieving revision 1.30
diff -u -r1.30 wowthunk.c
--- dlls/kernel/wowthunk.c	27 Feb 2003 01:57:16 -0000	1.30
+++ dlls/kernel/wowthunk.c	12 May 2003 18:18:56 -0000
@@ -415,7 +415,7 @@
     DWORD *args, ret;
     DWORD mutex_count;
     VA_LIST16 valist;
-    int i;
+    unsigned int i;
     int aix;
 
     ReleaseThunkLock( &mutex_count );
@@ -485,6 +485,10 @@
     case 12:ret = proc32(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11]);
             break;
     case 13:ret = proc32(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11],args[12]);
+            break;
+    case 14:ret = proc32(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11],args[12],args[13]);
+            break;
+    case 15:ret = proc32(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9],args[10],args[11],args[12],args[13],args[14]);
             break;
     default:
             /* FIXME: should go up to 32  arguments */


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux