aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe ANDRE <jpeg@videolan.org>2015-03-25 10:49:02 -0700
committerJean-Philippe ANDRE <jpeg@videolan.org>2015-03-25 10:56:09 -0700
commit3e2b104cabc1c50ec422faf7430f8b0d38301517 (patch)
tree941ad1df33637d846eaf3c8e386fa2a51e778d2e
parentedje: add text_class_get() APIs (diff)
downloadefl-3e2b104cabc1c50ec422faf7430f8b0d38301517.tar.gz
Wayland shm: Fix shadow variable warning
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index b9c0a6a2ad..0a05f03981 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -434,12 +434,12 @@ _evas_shm_surface_swap(Shm_Surface *surface, Eina_Rectangle *rects, unsigned int
if ((rects) && (count > 0))
{
- unsigned int i = 0;
+ unsigned int k = 0;
- for (; i < count; i++)
+ for (; k < count; k++)
wl_surface_damage(surface->surface,
- rects[i].x, rects[i].y,
- rects[i].w, rects[i].h);
+ rects[k].x, rects[k].y,
+ rects[k].w, rects[k].h);
}
else
wl_surface_damage(surface->surface, 0, 0, leaf->w, leaf->h);