Commit 71f8fc27 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION

instead and cast to LPWSTR. Fixed type cast warnings.
parent 5e5f7bbb
......@@ -52,8 +52,8 @@ BOOL ClassTest(HINSTANCE hInstance, BOOL global)
cls.cbClsExtra = NUMCLASSWORDS*sizeof(DWORD);
cls.cbWndExtra = 12;
cls.hInstance = hInstance;
cls.hIcon = LoadIconW (0, IDI_APPLICATIONW);
cls.hCursor = LoadCursorW (0, IDC_ARROWW);
cls.hIcon = LoadIconW (0, (LPWSTR)IDI_APPLICATION);
cls.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW);
cls.hbrBackground = GetStockObject (WHITE_BRUSH);
cls.lpszMenuName = 0;
cls.lpszClassName = className;
......@@ -79,8 +79,7 @@ BOOL ClassTest(HINSTANCE hInstance, BOOL global)
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, 0,
0, hInstance, 0);
ok(hTestWnd,
"Failed to create window");
ok(hTestWnd!=0, "Failed to create window");
/* test initial values of valid classwords */
for(i=0; i<NUMCLASSWORDS; i++)
......
......@@ -67,7 +67,7 @@ typedef struct test_params
int sock_type;
int sock_prot;
char *inet_addr;
int inet_port;
short inet_port;
int chunk_size;
int n_chunks;
int n_clients;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment