Author: cwittich
Date: Mon Jan 22 06:00:02 2007
New Revision: 25583
URL:
http://svn.reactos.org/svn/reactos?rev=25583&view=rev
Log:
some more warnings fixes (gcc 4.2)
Modified:
trunk/reactos/dll/win32/riched20/editor.c
trunk/reactos/regtests/winetests/user32/edit.c
Modified: trunk/reactos/dll/win32/riched20/editor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/riched20/editor.…
==============================================================================
--- trunk/reactos/dll/win32/riched20/editor.c (original)
+++ trunk/reactos/dll/win32/riched20/editor.c Mon Jan 22 06:00:02 2007
@@ -2137,7 +2137,7 @@
wcW.cbWndExtra = 4;
wcW.hInstance = NULL; /* hInstance would register DLL-local class */
wcW.hIcon = NULL;
- wcW.hCursor = LoadCursorW(NULL, MAKEINTRESOURCEW(IDC_IBEAM));
+ wcW.hCursor = LoadCursorW(NULL, (LPCWSTR) IDC_IBEAM);
wcW.hbrBackground = (HBRUSH)GetStockObject(NULL_BRUSH);
wcW.lpszMenuName = NULL;
wcW.lpszClassName = wszClassName;
@@ -2153,7 +2153,7 @@
wcA.cbWndExtra = 4;
wcA.hInstance = NULL; /* hInstance would register DLL-local class */
wcA.hIcon = NULL;
- wcA.hCursor = LoadCursorW(NULL, MAKEINTRESOURCEW(IDC_IBEAM));
+ wcA.hCursor = LoadCursorA(NULL, (LPCSTR) IDC_IBEAM);
wcA.hbrBackground = (HBRUSH)GetStockObject(NULL_BRUSH);
wcA.lpszMenuName = NULL;
wcA.lpszClassName = "RichEdit20A";
Modified: trunk/reactos/regtests/winetests/user32/edit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/regtests/winetests/user32/…
==============================================================================
--- trunk/reactos/regtests/winetests/user32/edit.c (original)
+++ trunk/reactos/regtests/winetests/user32/edit.c Mon Jan 22 06:00:02 2007
@@ -939,7 +939,7 @@
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;