[Bf-blender-cvs] [52186a39af5] master: Cleanup: printf warning

Campbell Barton noreply at git.blender.org
Thu Apr 30 09:29:16 CEST 2020


Commit: 52186a39af593c4b8e759dbc0c335859014c2f3f
Author: Campbell Barton
Date:   Thu Apr 30 17:22:34 2020 +1000
Branches: master
https://developer.blender.org/rB52186a39af593c4b8e759dbc0c335859014c2f3f

Cleanup: printf warning

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

M	intern/ghost/intern/GHOST_SystemX11.cpp

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

diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index c61a06b6b42..54925fc0af4 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -2456,7 +2456,7 @@ GHOST_TSuccess GHOST_SystemX11::showMessageBox(const char *title,
           string cmd = "xdg-open \"" + string(link) + "\"";
           if (system(cmd.c_str()) != 0) {
             GHOST_PRINTF("GHOST_SystemX11::showMessageBox: Unable to run system command [%s]",
-                         cmd);
+                         cmd.c_str());
           }
         }
         break;



More information about the Bf-blender-cvs mailing list