user32: change a pointer cast from DWORD to DWORD_PTR

Austin English austinenglish at gmail.com
Sun Feb 22 21:54:47 CST 2009


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index ee9fb3f..4046b58 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -350,7 +350,7 @@ static INT EDIT_CallWordBreakProc(EDITSTATE *es, INT start, INT index, INT count
             args[2] = index;
             args[1] = countA;
             args[0] = action;
-            WOWCallback16Ex((DWORD)es->word_break_proc16, WCB16_PASCAL, sizeof(args), args, &result);
+            WOWCallback16Ex((DWORD_PTR)es->word_break_proc16, WCB16_PASCAL, sizeof(args), args, &result);
             ret = LOWORD(result);
 	    GlobalUnlock16(hglob16);
 	    GlobalFree16(hglob16);


More information about the wine-patches mailing list