Convert int to string

This commit is contained in:
sam-astro 2022-05-24 18:27:23 -04:00
parent 92bc9ebea4
commit f6462291a7

View File

@ -803,7 +803,7 @@ int main(int argc, char* argv[])
// Change the current working directory to that of the script
int chErr = chdir(projectDirectory.c_str());
if (chErr < 0)
LogCriticalError("Failed to change directory to: \"" + projectDirectory + "\", error num: " + chErr);
LogCriticalError("Failed to change directory to: \"" + projectDirectory + "\", error num: " + to_string(chErr));
#if DEVELOPER_MESSAGES
InterpreterLog("Changed directory to " + projectDirectory + "...");
#endif