File fix-keysym-type.patch of Package ibus-qt

Index: ibus-qt-1.3.3-Source/qtim/ibus-input-context.cpp
===================================================================
--- ibus-qt-1.3.3-Source.orig/qtim/ibus-input-context.cpp
+++ ibus-qt-1.3.3-Source/qtim/ibus-input-context.cpp
@@ -259,7 +259,7 @@ IBusInputContext::widgetDestroyed (QWidg
 #ifdef Q_WS_X11
 
 static inline bool
-translate_x_key_event (XEvent *xevent, uint *keyval, uint *keycode, uint *state)
+translate_x_key_event (XEvent *xevent, unsigned long *keyval, uint *keycode, uint *state)
 {
     Q_ASSERT (xevent);
     Q_ASSERT (keyval);
@@ -290,7 +290,7 @@ translate_x_key_event (XEvent *xevent, u
 bool
 IBusInputContext::x11FilterEvent (QWidget *keywidget, XEvent *xevent)
 {
-    uint keyval = 0;
+    unsigned long keyval = 0;
     uint keycode = 0;
     uint state = 0;
openSUSE Build Service is sponsored by