From a40bd7a9d7c7594e665fd65a47039bf1d6b55e9a Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 30 Nov 2015 14:18:04 +0100 Subject: [PATCH] Fixed: Warning filePath not being a const char* --- code/nel/tools/3d/mesh_export/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/mesh_export/main.cpp b/code/nel/tools/3d/mesh_export/main.cpp index 1503a4b16..81b850a23 100644 --- a/code/nel/tools/3d/mesh_export/main.cpp +++ b/code/nel/tools/3d/mesh_export/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) if (!NLMISC::CFile::fileExists(filePath)) { printHelp(args); - nlerror("File '%s' does not exist", filePath); + nlerror("File '%s' does not exist", filePath.c_str()); return EXIT_FAILURE; }