some more warnings fixes (gcc 4.2)

svn path=/trunk/; revision=25583
This commit is contained in:
Christoph von Wittich 2007-01-22 03:00:02 +00:00
parent 4410a2013e
commit 2f75cefc88
2 changed files with 3 additions and 3 deletions

View file

@ -2137,7 +2137,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
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 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
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";

View file

@ -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;