[Bf-blender-cvs] [7ae9d092d0d] master: Fix alembic build error with MSVC

lazydodo noreply at git.blender.org
Wed Apr 5 18:59:35 CEST 2017


Commit: 7ae9d092d0d3e3279a0dff6940e46e314cf42ec0
Author: lazydodo
Date:   Wed Apr 5 10:59:29 2017 -0600
Branches: master
https://developer.blender.org/rB7ae9d092d0d3e3279a0dff6940e46e314cf42ec0

Fix alembic build error with MSVC

===================================================================

M	source/blender/alembic/intern/abc_util.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_util.cc b/source/blender/alembic/intern/abc_util.cc
index f82b07e91fb..aa95180dfe2 100644
--- a/source/blender/alembic/intern/abc_util.cc
+++ b/source/blender/alembic/intern/abc_util.cc
@@ -542,7 +542,7 @@ ScopeTimer::~ScopeTimer()
 
 bool SimpleLogger::empty()
 {
-	return m_stream.tellp() == 0ul;
+	return ((size_t)m_stream.tellp()) == 0ul;
 }
 
 std::string SimpleLogger::str() const




More information about the Bf-blender-cvs mailing list