Ignore:
Timestamp:
08/26/14 04:03:10 (11 years ago)
Author:
epyon
Message:
  • nova now compiles again under all three compilers with -Winsane and no warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/skeletal_mesh.cc

    r319 r323  
    5353                                for ( size_t j = 0; j < 4; ++j )
    5454                                {
    55                                         int   index  = vert.boneindex[j];
    56                                         float weight = vert.boneweight[j];
     55                                        unsigned index = (unsigned)vert.boneindex[j];
     56                                        float weight   = vert.boneweight[j];
    5757                                        const quat& orient      = m_transform[index].get_orientation();
    5858                                        const transform& offset = m_pos_offset[index];
     
    152152                if ( bi != bone_names.end() )
    153153                {
    154                         bone_id = bi->second;
     154                        bone_id = (sint16)bi->second;
    155155                }
    156156                m_bone_ids[n] = bone_id;
Note: See TracChangeset for help on using the changeset viewer.