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) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to