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:
authorCampbell Barton <ideasman42@gmail.com>2010-11-04 01:44:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-04 01:44:39 +0300
commitdba1904f657ab9b90aaea3ceed6dad97ec4ad951 (patch)
treeff8dba823a4b34766d4d88d224221877cd311daa /source/blender/collada/DocumentImporter.cpp
parentce3b49742decf64b3cb600dd2091feac07330b7b (diff)
bugfix [#24518] Blender wont compile with -Wall -Werror and COLLADA support
fix included in report from Martijn Berger (mberger) made some small changes. - use ints rather then unsigned long for printing, values are not likely to be very large. - CMake remove strict flags from collada build dir since I had warnings in the collada headers. - added xml2 to collada libraries else I couldnt get collada building.
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-rw-r--r--source/blender/collada/DocumentImporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp
index bc5653c8c45..86609d11c02 100644
--- a/source/blender/collada/DocumentImporter.cpp
+++ b/source/blender/collada/DocumentImporter.cpp
@@ -219,7 +219,7 @@ public:
if (libnode_ob.size()) {
Scene *sce = CTX_data_scene(mContext);
- fprintf(stderr, "got %u library nodes to free\n", libnode_ob.size());
+ fprintf(stderr, "got %d library nodes to free\n", (int)libnode_ob.size());
// free all library_nodes
std::vector<Object*>::iterator it;
for (it = libnode_ob.begin(); it != libnode_ob.end(); it++) {