diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-02-06 20:27:11 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-07-07 16:52:29 +0100 |
commit | 0d6c499b9976d305e13685eb79b4bb7cd4250f58 (patch) | |
tree | 162f1eefbfe17326a80e3e2c0fb4b596e5093800 | |
parent | ba468e003e32c406f4885c8cb3deeb1c8175cd45 (diff) |
hw/xwin: printf format fixes in winConfigKeyboard()
struct winInfoRec.keyboard members are of type long, not type int
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
-rw-r--r-- | hw/xwin/winconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winconfig.c b/hw/xwin/winconfig.c index 321dfeed2..d26cc9376 100644 --- a/hw/xwin/winconfig.c +++ b/hw/xwin/winconfig.c @@ -263,7 +263,7 @@ winConfigKeyboard(DeviceIntPtr pDevice) break; } g_winInfo.keyboard.rate = (kbd_speed > 0) ? kbd_speed : 1; - winMsgVerb(X_PROBED, 1, "Setting autorepeat to delay=%d, rate=%d\n", + winMsgVerb(X_PROBED, 1, "Setting autorepeat to delay=%ld, rate=%ld\n", g_winInfo.keyboard.delay, g_winInfo.keyboard.rate); } } |