Fix some modules
[reactos.git] / rostests / tests / edit / edittest.c
index 35ab9b5..22d23db 100644 (file)
@@ -277,7 +277,7 @@ CreateCheckButton(const char* lpWindowName, DWORD xSize, DWORD id)
                          xSize,   /* nWidth  */
                          20,      /* nHeight */
                          g_hwnd,
-                         (HMENU) id,
+                         (HMENU)(ULONG_PTR)id,
                          g_hInst,
                          NULL
                          );
@@ -297,7 +297,7 @@ CreatePushButton(const char* lpWindowName, DWORD xSize, DWORD id,DWORD Style)
                                  xSize,   // nWidth
                                  20,      // nHeight
                                              g_hwnd,
-                          (HMENU) id,
+                          (HMENU)(ULONG_PTR) id,
                           g_hInst,
                           NULL
                           );