diff --git a/src/main.cpp b/src/main.cpp index 77572d8..c9512bf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,7 +13,7 @@ int main(int argc, char* argv[]) { string currentArg; for (signed int i = 0; i < argc; ++i) { - currentArg = ((string) argv[i]); + currentArg = static_cast(argv[i]); if ((currentArg == "--printresult") || (currentArg == "-p")) printResult = true; else if (currentArg.starts_with("--target=")) target = '.' + currentArg.erase(0, 9); }