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

Saul Wold sgw at linux.intel.com
Thu Mar 17 09:40:56 PDT 2016


The soft keyboard was displaying incorrectly on 64bit machines

[YOCTO #9254]

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 src/matchbox-keyboard-ui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/matchbox-keyboard-ui.c b/src/matchbox-keyboard-ui.c
index 84bc375..988504e 100644
--- a/src/matchbox-keyboard-ui.c
+++ b/src/matchbox-keyboard-ui.c
@@ -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);
 
-- 
2.5.0




More information about the yocto mailing list