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>
This commit is contained in:
Jon TURNEY 2015-02-06 20:27:11 +00:00
parent ba468e003e
commit 0d6c499b99

View File

@ -263,7 +263,7 @@ winConfigKeyboard(DeviceIntPtr pDevice)
break; break;
} }
g_winInfo.keyboard.rate = (kbd_speed > 0) ? kbd_speed : 1; 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); g_winInfo.keyboard.delay, g_winInfo.keyboard.rate);
} }
} }