[Bf-blender-cvs] [ff0938870ff] master: Compositor: Fix strict compilation warnings when debug is enabled

Sergey Sharybin noreply at git.blender.org
Mon Oct 2 12:30:37 CEST 2017


Commit: ff0938870ff800e160ac6dbe8d2b70980f01b5c5
Author: Sergey Sharybin
Date:   Mon Oct 2 15:18:10 2017 +0500
Branches: master
https://developer.blender.org/rBff0938870ff800e160ac6dbe8d2b70980f01b5c5

Compositor: Fix strict compilation warnings when debug is enabled

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

M	source/blender/compositor/intern/COM_Debug.cpp

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

diff --git a/source/blender/compositor/intern/COM_Debug.cpp b/source/blender/compositor/intern/COM_Debug.cpp
index 9a5b906631a..68439ff8469 100644
--- a/source/blender/compositor/intern/COM_Debug.cpp
+++ b/source/blender/compositor/intern/COM_Debug.cpp
@@ -176,7 +176,7 @@ int DebugInfo::graphviz_operation(const ExecutionSystem *system, const NodeOpera
 	
 	len += snprintf(str + len, maxlen > len ? maxlen - len : 0, "%s\\n(%s)", m_op_names[operation].c_str(), typeid(*operation).name());
 	
-	len += snprintf(str + len, maxlen > len ? maxlen - len : 0, " (%d,%d)", operation->getWidth(), operation->getHeight());
+	len += snprintf(str + len, maxlen > len ? maxlen - len : 0, " (%u,%u)", operation->getWidth(), operation->getHeight());
 	
 	int totoutputs = operation->getNumberOfOutputSockets();
 	if (totoutputs != 0) {



More information about the Bf-blender-cvs mailing list