warning--
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sun, 16 Oct 2011 15:38:10 +0000 (15:38 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sun, 16 Oct 2011 15:38:10 +0000 (15:38 +0000)
SVN revision: 64114

src/modules/illume-keyboard/e_kbd_buf.c
src/modules/illume-keyboard/e_kbd_int.c

index b297ec9..3d7f000 100644 (file)
@@ -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)
index aa0d31e..f2562a7 100644 (file)
@@ -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);