fix build warning 37/17437/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 12 Jun 2013 04:56:21 +0000 (13:56 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 01:33:04 +0000 (10:33 +0900)
Change-Id: I1533e600cb4aa4c52290ff5ebce122dfe6a50cc4

ism/extras/efl_immodule/isf_imf_context.cpp

index 866f21f..d12e24b 100644 (file)
@@ -2377,7 +2377,7 @@ panel_slot_update_preedit_string (int context,
                     ic->impl->preedit_started = true;
                     ic->impl->need_commit_preedit = true;
                 }
-                if(caret >= 0 && caret <= str.length ())
+                if (caret >= 0 && caret <= (int)str.length ())
                     ic->impl->preedit_caret    = caret;
                 else
                     ic->impl->preedit_caret    = str.length ();
@@ -3590,7 +3590,7 @@ slot_update_preedit_string (IMEngineInstanceBase *si,
                 ecore_imf_context_event_callback_call (_focused_ic->ctx, ECORE_IMF_CALLBACK_PREEDIT_START, NULL);
                 ic->impl->preedit_started = true;
             }
-            if(caret >= 0 && caret <= str.length ())
+            if (caret >= 0 && caret <= (int)str.length ())
                 ic->impl->preedit_caret = caret;
             else
                 ic->impl->preedit_caret = str.length ();