From ebcf6321101ee2580fb67c8d5c3f059326d7861d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 13 Dec 2011 14:05:31 +0100 Subject: [PATCH] Fixed compiler warning. --- src/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Texture.cpp b/src/Texture.cpp index 7a027da16..32292471c 100644 --- a/src/Texture.cpp +++ b/src/Texture.cpp @@ -19,7 +19,7 @@ namespace Magnum { template void Texture::setWrapping(const Math::Vector& wrapping) { bind(); - for(int i = 0; i != dimensions; ++i) { + for(size_t i = 0; i != Dimensions; ++i) { /* Repeat wrap modes are not available on rectangle textures. */ if(target == GL_TEXTURE_RECTANGLE && (wrapping.at(i) == Wrapping::Repeat || wrapping.at(i) == Wrapping::MirroredRepeat)) continue;