keybindings: Silence a compiler warning

https://bugzilla.gnome.org/show_bug.cgi?id=682993
This commit is contained in:
Florian Müllner 2012-08-29 23:06:45 +02:00
parent bc96a14185
commit b422b6f06e

View File

@ -671,7 +671,7 @@ meta_display_get_keybinding_action (MetaDisplay *display,
* of mutter keybindings while holding a grab, the overlay-key-only-pressed
* tracking is left to the plugin here.
*/
if (keycode == display->overlay_key_combo.keycode)
if (keycode == (unsigned int)display->overlay_key_combo.keycode)
return META_KEYBINDING_ACTION_OVERLAY_KEY;
keysym = XKeycodeToKeysym (display->xdisplay, keycode, 0);