From 283c7f82645c32ae1cada4e1cc87ede6085679ac Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sun, 16 Oct 2011 15:38:10 +0000 Subject: [PATCH] warning-- SVN revision: 64114 --- src/modules/illume-keyboard/e_kbd_buf.c | 2 +- src/modules/illume-keyboard/e_kbd_int.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/illume-keyboard/e_kbd_buf.c b/src/modules/illume-keyboard/e_kbd_buf.c index b297ec9..3d7f000 100644 --- a/src/modules/illume-keyboard/e_kbd_buf.c +++ b/src/modules/illume-keyboard/e_kbd_buf.c @@ -148,7 +148,7 @@ _e_kbd_buf_actual_string_update(E_Kbd_Buf *kb) Eina_List *l; char *actual = NULL; int actual_len = 0; - int actual_size = 0; + unsigned int actual_size = 0; _e_kbd_buf_actual_string_clear(kb); for (l = kb->keystrokes; l; l = l->next) diff --git a/src/modules/illume-keyboard/e_kbd_int.c b/src/modules/illume-keyboard/e_kbd_int.c index aa0d31e..f2562a7 100644 --- a/src/modules/illume-keyboard/e_kbd_int.c +++ b/src/modules/illume-keyboard/e_kbd_int.c @@ -1363,7 +1363,7 @@ _e_kbd_int_cb_client_message(void *data, __UNUSED__ int type, void *event) { E_Kbd_Int_Layout *kil = NULL; - if (ev->data.l[0] == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF) + if ((unsigned int)ev->data.l[0] == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF) { _e_kbd_int_zoomkey_down(ki); _e_kbd_int_dictlist_down(ki); @@ -1373,9 +1373,9 @@ _e_kbd_int_cb_client_message(void *data, __UNUSED__ int type, void *event) { // do nothing - leave kbd as-is } - else if (ev->data.l[0] == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA) + else if ((unsigned int)ev->data.l[0] == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA) kil = _e_kbd_int_layouts_type_get(ki, E_KBD_INT_TYPE_ALPHA); - else if (ev->data.l[0] == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC) + else if ((unsigned int)ev->data.l[0] == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC) kil = _e_kbd_int_layouts_type_get(ki, E_KBD_INT_TYPE_NUMERIC); else if (ev->data.l[0] == ECORE_X_VIRTUAL_KEYBOARD_STATE_PIN) kil = _e_kbd_int_layouts_type_get(ki, E_KBD_INT_TYPE_PIN); -- 2.7.4