evas textblock: remove build warning for comparing integer and size_t variables 52/142052/2
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 2 Aug 2017 10:03:29 +0000 (19:03 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 2 Aug 2017 11:01:59 +0000 (11:01 +0000)
@tizen_fix

Change-Id: I564a35e46979df603a350eca69f596ce1cd39e27

src/lib/evas/canvas/evas_object_textblock.c

index 69909d5..e2113cd 100644 (file)
@@ -5420,8 +5420,8 @@ _layout_par(Ctxt *c)
 
         /* TIZEN_ONLY(20170201): Fix RTL + LTR word wrap issue caused by wrong line start pos */
         if ((c->ln_min_text_pos == -1) ||
-            (c->ln_min_text_pos > it->text_pos))
-          c->ln_min_text_pos = it->text_pos;
+            (c->ln_min_text_pos > (int)it->text_pos))
+          c->ln_min_text_pos = (int)it->text_pos;
         /* END */
 
         it->x = c->x;