From aa39ad72601ea81ab9cef7f35280ebab36de7f76 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Sat, 24 Sep 2011 12:05:14 +0000 Subject: [PATCH] [user32_apitest.exe] - Fix gcc build svn path=/trunk/; revision=53832 --- rostests/apitests/user32/helper.c | 2 ++ rostests/apitests/user32/helper.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rostests/apitests/user32/helper.c b/rostests/apitests/user32/helper.c index 9c04740566f..d69e185f20e 100644 --- a/rostests/apitests/user32/helper.c +++ b/rostests/apitests/user32/helper.c @@ -93,6 +93,8 @@ void sprintf_msg_entry(char* buffer, MSG_ENTRY* msg) msgName = NULL; msgType = "event"; break; + default: + return; } if(msgName) diff --git a/rostests/apitests/user32/helper.h b/rostests/apitests/user32/helper.h index f5721f8299c..de4cbdf27ca 100644 --- a/rostests/apitests/user32/helper.h +++ b/rostests/apitests/user32/helper.h @@ -23,7 +23,7 @@ void empty_message_cache(); ATOM RegisterSimpleClass(WNDPROC lpfnWndProc, LPCWSTR lpszClassName); /* filter messages that are affected by dwm */ -static _inline BOOL IsDWmMsg(UINT msg) +static inline BOOL IsDWmMsg(UINT msg) { switch(msg) { @@ -36,7 +36,7 @@ static _inline BOOL IsDWmMsg(UINT msg) return FALSE; } -static _inline BOOL IseKeyMsg(UINT msg) +static inline BOOL IseKeyMsg(UINT msg) { return (msg == WM_KEYUP || msg == WM_KEYDOWN); }