Commit 69680296 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

user32/tests: Don't use the long type.

parent 870bb4e6
...@@ -646,8 +646,8 @@ static void set_client_height(HWND Wnd, unsigned Height) ...@@ -646,8 +646,8 @@ static void set_client_height(HWND Wnd, unsigned Height)
GetClientRect(Wnd, &ClientRect); GetClientRect(Wnd, &ClientRect);
ok(ClientRect.bottom - ClientRect.top == Height, ok(ClientRect.bottom - ClientRect.top == Height,
"The client height should be %ld, but is %ld\n", "The client height should be %d, but is %d\n",
(long)Height, (long)(ClientRect.bottom - ClientRect.top)); Height, ClientRect.bottom - ClientRect.top);
} }
static void test_edit_control_1(void) static void test_edit_control_1(void)
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
/* globals */ /* globals */
static HWND hWndTest; static HWND hWndTest;
static long timetag = 0x10000000; static LONG timetag = 0x10000000;
static UINT (WINAPI *pSendInput) (UINT, INPUT*, size_t); static UINT (WINAPI *pSendInput) (UINT, INPUT*, size_t);
static int (WINAPI *pGetMouseMovePointsEx) (UINT, LPMOUSEMOVEPOINT, LPMOUSEMOVEPOINT, int, DWORD); static int (WINAPI *pGetMouseMovePointsEx) (UINT, LPMOUSEMOVEPOINT, LPMOUSEMOVEPOINT, int, DWORD);
......
...@@ -3220,7 +3220,7 @@ static LRESULT WINAPI mdi_client_hook_proc(HWND hwnd, UINT message, WPARAM wPara ...@@ -3220,7 +3220,7 @@ static LRESULT WINAPI mdi_client_hook_proc(HWND hwnd, UINT message, WPARAM wPara
static LRESULT WINAPI mdi_child_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI mdi_child_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -3270,7 +3270,7 @@ static LRESULT WINAPI mdi_child_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, ...@@ -3270,7 +3270,7 @@ static LRESULT WINAPI mdi_child_wnd_proc(HWND hwnd, UINT message, WPARAM wParam,
static LRESULT WINAPI mdi_frame_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI mdi_frame_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -6897,8 +6897,8 @@ done: ...@@ -6897,8 +6897,8 @@ done:
static LRESULT MsgCheckProc (BOOL unicode, HWND hwnd, UINT message, static LRESULT MsgCheckProc (BOOL unicode, HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam) WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
static long beginpaint_counter = 0; static LONG beginpaint_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -7034,7 +7034,7 @@ static LRESULT WINAPI MsgCheckProcW(HWND hwnd, UINT message, WPARAM wParam, LPAR ...@@ -7034,7 +7034,7 @@ static LRESULT WINAPI MsgCheckProcW(HWND hwnd, UINT message, WPARAM wParam, LPAR
static LRESULT WINAPI PopupMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI PopupMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -7073,8 +7073,8 @@ static LRESULT WINAPI PopupMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam, ...@@ -7073,8 +7073,8 @@ static LRESULT WINAPI PopupMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam,
static LRESULT WINAPI ParentMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI ParentMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
static long beginpaint_counter = 0; static LONG beginpaint_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -7141,7 +7141,7 @@ static LRESULT WINAPI ParentMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam ...@@ -7141,7 +7141,7 @@ static LRESULT WINAPI ParentMsgCheckProcA(HWND hwnd, UINT message, WPARAM wParam
static LRESULT WINAPI TestDlgProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI TestDlgProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -7175,7 +7175,7 @@ static LRESULT WINAPI TestDlgProcA(HWND hwnd, UINT message, WPARAM wParam, LPARA ...@@ -7175,7 +7175,7 @@ static LRESULT WINAPI TestDlgProcA(HWND hwnd, UINT message, WPARAM wParam, LPARA
static LRESULT WINAPI ShowWindowProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI ShowWindowProcA(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
...@@ -11024,7 +11024,7 @@ static LRESULT (WINAPI *listbox_orig_proc)(HWND, UINT, WPARAM, LPARAM); ...@@ -11024,7 +11024,7 @@ static LRESULT (WINAPI *listbox_orig_proc)(HWND, UINT, WPARAM, LPARAM);
static LRESULT WINAPI listbox_hook_proc(HWND hwnd, UINT message, WPARAM wp, LPARAM lp) static LRESULT WINAPI listbox_hook_proc(HWND hwnd, UINT message, WPARAM wp, LPARAM lp)
{ {
static long defwndproc_counter = 0; static LONG defwndproc_counter = 0;
LRESULT ret; LRESULT ret;
struct recvd_message msg; struct recvd_message msg;
......
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