From 483a5855f408e98c348ee17719dc4ca1179ec630 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 27 Apr 2011 11:02:11 +0000 Subject: [PATCH] Make the compiler shut up about a signed/unsigned mismatch --- source/vertexformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vertexformat.cpp b/source/vertexformat.cpp index adb33c2a..16cf28c7 100644 --- a/source/vertexformat.cpp +++ b/source/vertexformat.cpp @@ -74,7 +74,7 @@ int VertexFormat::offset(VertexComponent comp, unsigned index) const unsigned offs = 0; for(const unsigned char *i=begin(); i!=end(); ++i) { - if((*i>>2)==type) + if(static_cast(*i>>2)==type) { if((*i&3)>=size) return offs; -- 2.45.2