Fix build warning in wayland frontend 64/48564/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 Sep 2015 04:56:38 +0000 (13:56 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 Sep 2015 04:56:38 +0000 (13:56 +0900)
Change-Id: I50e8fcc68a1a98a8bc2f0048570b75a721048043

ism/extras/efl_wsc/isf_wsc_context.cpp
ism/extras/efl_wsc/isf_wsc_efl.cpp

index 5388b74..e8670ab 100644 (file)
@@ -2902,7 +2902,7 @@ static uint32_t _keyname_to_keysym (uint32_t keyname, uint32_t *modifiers)
         case '|':
             *modifiers |= MOD_SHIFT_MASK;
             return '\\';
-        case '\:':
+        case ':':
             *modifiers |= MOD_SHIFT_MASK;
             return ';';
         case '\"':
index 5a544bd..4e7102b 100644 (file)
@@ -100,7 +100,7 @@ _wsc_im_ctx_surrounding_text(void *data, struct wl_input_method_context *im_ctx,
     wsc->surrounding_text = strdup (text ? text : "");
     wsc->surrounding_cursor = cursor;
 
-    if (wsc->cursor_pos != cursor) {
+    if (wsc->cursor_pos != (int)cursor) {
         wsc->cursor_pos = cursor;
 
         if (wsc->wsc_ctx)