Skip to content
Snippets Groups Projects
Commit 1408fcb5 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed type error in printf

parent 50c7e911
No related branches found
No related tags found
No related merge requests found
Pipeline #31045 failed
...@@ -29,7 +29,7 @@ void drawProgressBar(double progress, int barWidth, const std::string& additiona ...@@ -29,7 +29,7 @@ void drawProgressBar(double progress, int barWidth, const std::string& additiona
else else
putchar(' '); 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); fflush(stdout);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment