Skip to contentSkip to conversation

matchbox-keyboard-ui.c: Fix int -> long to address 32bit vs 64 bit addressing

PATCH New Saul Wold 1 participant 1 message Mar 17, 2016

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 matchbox-keyboard-ui.c: Fix int -> long to address 32bit vs 64 bit addressing

The soft keyboard was displaying incorrectly on 64bit machines

[YOCTO #9254]

---
 src/matchbox-keyboard-ui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/matchbox-keyboard-ui.c +1 -1
index 84bc375..988504e 100644
@@ -125,7 +125,7 @@ get_desktop_area(MBKeyboardUI *ui, int *x, int *y, int *width, int *height)
   Atom           atom_area, type;
   int            result, format;
   unsigned long  nitems, bytes_after;
-  int           *geometry = NULL;
+  long           *geometry = NULL;
 
   atom_area = XInternAtom (ui->xdpy, "_NET_WORKAREA", False);
 
Signature · 1 line
2.5.0