diff options
Diffstat (limited to 'o3d/core/cross/skin.cc')
-rw-r--r-- | o3d/core/cross/skin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/core/cross/skin.cc b/o3d/core/cross/skin.cc index beb28c8..99387ca 100644 --- a/o3d/core/cross/skin.cc +++ b/o3d/core/cross/skin.cc @@ -594,7 +594,7 @@ bool Skin::LoadFromBinaryData(MemoryReadStream *stream) { if (num_influences > 0) { Skin::Influences influences(num_influences); - for (int i = 0; i < num_influences; ++i) { + for (Skin::Influences::size_type i = 0; i < num_influences; ++i) { uint32 matrix_index = stream->ReadLittleEndianInt32(); float weight = stream->ReadLittleEndianFloat32(); influences[i] = Skin::Influence(matrix_index, weight); |