Fixed: Warning filePath not being a const char*

This commit is contained in:
kervala 2015-11-30 14:18:04 +01:00
parent 03bee917de
commit d381ee8965

View file

@ -46,7 +46,7 @@ int main(int argc, char *argv[])
if (!NLMISC::CFile::fileExists(filePath)) if (!NLMISC::CFile::fileExists(filePath))
{ {
printHelp(args); printHelp(args);
nlerror("File '%s' does not exist", filePath); nlerror("File '%s' does not exist", filePath.c_str());
return EXIT_FAILURE; return EXIT_FAILURE;
} }