From 1f545da9742dc6e9667715ce41eada31524a3b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 16 Jun 2010 19:20:02 +0200 Subject: [PATCH] warptv: Don't use floats as loop counters --- gst/effectv/gstwarp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index 72c4eb03d8..e5eb7580af 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -118,7 +118,7 @@ static void initSinTable (void) { gint32 *tptr, *tsinptr; - double i; + gint i; tsinptr = tptr = sintable; @@ -132,7 +132,7 @@ initSinTable (void) static void initOffsTable (GstWarpTV * filter) { - int y; + gint y; for (y = 0; y < filter->height; y++) { filter->offstable[y] = y * filter->width; @@ -143,11 +143,11 @@ static void initDistTable (GstWarpTV * filter) { gint32 halfw, halfh, *distptr; - + gint x, y; #ifdef PS2 - float x, y, m; + float m; #else - double x, y, m; + float m; #endif halfw = filter->width >> 1;