summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-05 12:35:58 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-05 12:35:58 +0800
commitd8fc9d7966ccdd1946a4ab6f88a5adab53fdd0e2 (patch)
tree7a628f878501783ca9dae8791b52fc186f806cef
parent709d6e5629242d7745b7b993efceb60f508cefe1 (diff)
downloadbicubic-d8fc9d7966ccdd1946a4ab6f88a5adab53fdd0e2.tar.gz
bicubic-d8fc9d7966ccdd1946a4ab6f88a5adab53fdd0e2.tar.bz2
Fix warning
-rw-r--r--src/bicubic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bicubic.cpp b/src/bicubic.cpp
index 7523738..64b6bb5 100644
--- a/src/bicubic.cpp
+++ b/src/bicubic.cpp
@@ -60,7 +60,7 @@ BicubicScreen::getBicubicFragmentFunction (GLTexture *texture,
"hgX", "hgY", "cs00", "cs01", "cs10", "cs11"
};
- for (int i = 0; i < sizeof (filterTemp) / sizeof (filterTemp[0]); i++)
+ for (unsigned int i = 0; i < sizeof (filterTemp) / sizeof (filterTemp[0]); i++)
data->addTempHeaderOp (filterTemp[i]);