Ignore:
Timestamp:
08/11/13 18:06:12 (12 years ago)
Author:
epyon
Message:
  • compilation and warning fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/formats/md3_loader.cc

    r198 r200  
    88
    99#include <glm/gtc/constants.hpp>
    10 #include <glm/gtx/string_cast.hpp>
    1110#include "nv/logging.hh"
    1211#include <cstring>
     
    457456        {
    458457                const md3_surface_t& surface = md3->surfaces[i];
    459                 const sint32         vcount  = surface.header.num_verts;
     458                const uint32         vcount  = static_cast< uint32 >( surface.header.num_verts );
    460459                t.reserve( t.size() + vcount );
    461                 for (sint32 j = 0; j < vcount; ++j )
     460                for (uint32 j = 0; j < vcount; ++j )
    462461                {
    463462                        t.push_back( md3_texcoord( surface.st[j] ) );
Note: See TracChangeset for help on using the changeset viewer.