diff --git a/src/scheduler/Scheduler.cpp b/src/scheduler/Scheduler.cpp
index def7185f47f95aaddff95a975cc01e87bbcfb118..a8069fda9a3a2f4cbb999eeb3974230767069fb8 100644
--- a/src/scheduler/Scheduler.cpp
+++ b/src/scheduler/Scheduler.cpp
@@ -29,7 +29,7 @@ void drawProgressBar(double progress, int barWidth, const std::string& additiona
         else
             putchar(' ');
     }
-    printf("] %d%% | %s\r", static_cast<int>(progress * 100), additionalInfo);
+    printf("] %d%% | %s\r", static_cast<int>(progress * 100), additionalInfo.c_str());
     fflush(stdout);
 }