Skip to content
Snippets Groups Projects
Commit d2f7becc authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard
Browse files

winemac.drv: Don't print 32-bit values as long integers (Clang).


Signed-off-by: default avatarCharles Davis <cdavis5x@gmail.com>
Signed-off-by: default avatarKen Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent d6dcc253
No related branches found
No related tags found
No related merge requests found
......@@ -1545,7 +1545,7 @@ INT CDECL macdrv_ToUnicodeEx(UINT virtKey, UINT scanCode, const BYTE *lpKeyState
INT ret = 0;
int keyc;
BOOL is_menu = (flags & 0x1);
OSStatus status;
int status;
const UCKeyboardLayout *uchr;
UInt16 keyAction;
UInt32 modifierKeyState;
......@@ -1664,7 +1664,7 @@ INT CDECL macdrv_ToUnicodeEx(UINT virtKey, UINT scanCode, const BYTE *lpKeyState
&len, bufW);
if (status != noErr)
{
ERR_(key)("Couldn't translate keycode 0x%04x, status %ld\n", keyc, status);
ERR_(key)("Couldn't translate keycode 0x%04x, status %d\n", keyc, status);
goto done;
}
if (!is_menu)
......@@ -1687,7 +1687,7 @@ INT CDECL macdrv_ToUnicodeEx(UINT virtKey, UINT scanCode, const BYTE *lpKeyState
&savedDeadKeyState, bufW_size, &len, bufW);
if (status != noErr)
{
ERR_(key)("Couldn't translate keycode 0x%04x, status %ld\n", keyc, status);
ERR_(key)("Couldn't translate keycode 0x%04x, status %d\n", keyc, status);
goto done;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment