some more warnings fixes (gcc 4.2)
[reactos.git] / reactos / regtests / winetests / user32 / edit.c
index d92b244..a349271 100755 (executable)
@@ -939,7 +939,7 @@ static BOOL RegisterWindowClasses (void)
     text_position.cbWndExtra = 0;
     text_position.hInstance = hinst;
     text_position.hIcon = NULL;
-    text_position.hCursor = LoadCursorA(NULL, MAKEINTRESOURCEA(IDC_ARROW));
+    text_position.hCursor = LoadCursorA(NULL, (LPCSTR) IDC_ARROW);
     text_position.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
     text_position.lpszMenuName = NULL;
     text_position.lpszClassName = szEditTextPositionClass;