summaryrefslogtreecommitdiffstats
path: root/WebKit/efl/ewk/ewk_tiled_matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/efl/ewk/ewk_tiled_matrix.c')
-rw-r--r--WebKit/efl/ewk/ewk_tiled_matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/efl/ewk/ewk_tiled_matrix.c b/WebKit/efl/ewk/ewk_tiled_matrix.c
index fccbfa1..130a48a 100644
--- a/WebKit/efl/ewk/ewk_tiled_matrix.c
+++ b/WebKit/efl/ewk/ewk_tiled_matrix.c
@@ -600,9 +600,9 @@ static Eina_Bool _ewk_tile_matrix_slicer_setup(Ewk_Tile_Matrix *tm, const Eina_R
y = 0;
}
- if (y + h - 1 > rows * th)
+ if (y + h - 1 > (long)(rows * th))
h = rows * th - y;
- if (x + w - 1 > cols * tw)
+ if (x + w - 1 > (long)(cols * tw))
w = cols * tw - x;
return eina_tile_grid_slicer_setup(slicer, x, y, w, h, tw, th);