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 b297ec966..3d7f00087 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 aa0d31eef..f2562a791 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);