Commit 10e0867f authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

user32: Use correct integral type.

parent 7a0fb40c
......@@ -49,7 +49,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(win);
WINE_DECLARE_DEBUG_CHANNEL(keyboard);
INT global_key_state_counter = 0;
LONG global_key_state_counter = 0;
/***********************************************************************
* get_key_state
......
......@@ -2045,7 +2045,7 @@ typedef struct
WCHAR wnd_name[16]; /* window name for message */
} SPY_INSTANCE;
static int indent_tls_index = TLS_OUT_OF_INDEXES;
static LONG indent_tls_index = TLS_OUT_OF_INDEXES;
/***********************************************************************
* get_indent_level
......
......@@ -120,7 +120,7 @@ struct rawinput_thread_data
RAWINPUT buffer[1]; /* rawinput message data buffer */
};
extern INT global_key_state_counter DECLSPEC_HIDDEN;
extern LONG global_key_state_counter DECLSPEC_HIDDEN;
extern BOOL (WINAPI *imm_register_window)(HWND) DECLSPEC_HIDDEN;
extern void (WINAPI *imm_unregister_window)(HWND) DECLSPEC_HIDDEN;
#define WM_IME_INTERNAL 0x287
......
......@@ -4192,7 +4192,8 @@ BOOL WINAPI GetProcessDefaultLayout( DWORD *layout )
if (process_layout == ~0u)
{
WCHAR *str, buffer[MAX_PATH];
DWORD i, len, version_layout = 0;
DWORD i, version_layout = 0;
UINT len;
DWORD user_lang = GetUserDefaultLangID();
DWORD *languages;
void *data = NULL;
......
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