summaryrefslogtreecommitdiffstats
path: root/o3d/import/cross/collada.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/import/cross/collada.cc')
-rw-r--r--o3d/import/cross/collada.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/import/cross/collada.cc b/o3d/import/cross/collada.cc
index a9cc2e1..b62ae8f 100644
--- a/o3d/import/cross/collada.cc
+++ b/o3d/import/cross/collada.cc
@@ -344,7 +344,7 @@ bool Collada::ImportDAEDocument(FCDocument* doc,
// TODO: Add option to skip this step if user just wants what's
// actually used by models. The rest of the code already deals with this.
FCDImageLibrary* image_library = doc->GetImageLibrary();
- for (int i = 0; i < image_library->GetEntityCount(); i++) {
+ for (uint32 i = 0; i < image_library->GetEntityCount(); i++) {
FCDEntity* entity = image_library->GetEntity(i);
LOG_ASSERT(entity);
LOG_ASSERT(entity->GetType() == FCDEntity::IMAGE);
@@ -358,7 +358,7 @@ bool Collada::ImportDAEDocument(FCDocument* doc,
// TODO: Add option to skip this step if user just wants what's
// actually used by models. The rest of the code already deals with this.
FCDMaterialLibrary* material_library = doc->GetMaterialLibrary();
- for (int i = 0; i < material_library->GetEntityCount(); i++) {
+ for (uint32 i = 0; i < material_library->GetEntityCount(); i++) {
FCDEntity* entity = material_library->GetEntity(i);
LOG_ASSERT(entity);
LOG_ASSERT(entity->GetType() == FCDEntity::MATERIAL);