X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fvertexformat.cpp;h=c26c5c3e11f83fdca0bc87cacbbc5bd49b7e2cfe;hb=ceae2a27dfc58310c5bab7e3aa3fedf0fa9a1f49;hp=457cffad2724548cc31577fc0267e2c368ec421b;hpb=8f2430208cfa7bb9dc5bd655dde88acc21db54d2;p=libs%2Fgl.git diff --git a/source/vertexformat.cpp b/source/vertexformat.cpp index 457cffad..c26c5c3e 100644 --- a/source/vertexformat.cpp +++ b/source/vertexformat.cpp @@ -57,7 +57,7 @@ VertexFormat::~VertexFormat() unsigned VertexFormat::stride() const { - uint s=0; + unsigned s=0; for(const unsigned char *i=begin(); i!=end(); ++i) s+=(*i&3)+1; return s;