Fixed: Warning filePath not being a const char*

This commit is contained in:
kervala 2015-11-30 14:18:04 +01:00
parent 7fd1687a4d
commit a40bd7a9d7

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;
} }