fix pointers are not permitted as case values

Huw D M Davies h.davies1 at physics.ox.ac.uk
Mon Jun 14 12:54:26 CDT 2004


	Huw Davies <huw at codeweavers.com>
	Fix 'pointers are not permitted as case values' compile error.
Index: dlls/user/dde/server.c
===================================================================
RCS file: /home/wine/wine/dlls/user/dde/server.c,v
retrieving revision 1.16
diff -u -r1.16 server.c
--- dlls/user/dde/server.c	26 Apr 2004 23:29:44 -0000	1.16
+++ dlls/user/dde/server.c	14 Jun 2004 17:51:40 -0000
@@ -577,7 +577,7 @@
 	WDML_PostAck(pConv, WDML_SERVER_SIDE, 0, FALSE, FALSE, pXAct->atom,
                      pXAct->lParam, WM_DDE_REQUEST);
 	break;
-    case CBR_BLOCK:
+    case (ULONG_PTR)CBR_BLOCK:
 	ret = WDML_QS_BLOCK;
 	break;
     default:




More information about the wine-patches mailing list