Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-03-11 22:26:09 +0300
committerRay Molenkamp <github@lazydodo.com>2020-03-11 22:26:09 +0300
commitcbb854a98f27de1aeb39318138998e3c7d628c2d (patch)
treec4087721b2b9d9aef98f7a509bee928b23106fc7 /source/blender/io
parent33c6b269d116856b045f1ed51081bed14c5ed1da (diff)
Cleanup: Fix build warning on windows.
printf is called for a size_t (64 bit on x64) type but the formatter is `%lu` (32 bit) leading to a warning with MSVC. `%zu` is the appropriate formatter.
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/usd/intern/abstract_hierarchy_iterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc b/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc
index b473743fe16..a958a445a3d 100644
--- a/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc
+++ b/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc
@@ -164,7 +164,7 @@ void AbstractHierarchyIterator::debug_print_export_graph(const ExportGraph &grap
}
}
}
- printf(" (Total graph size: %lu objects\n", total_graph_size);
+ printf(" (Total graph size: %zu objects\n", total_graph_size);
}
void AbstractHierarchyIterator::export_graph_construct()