From e084c2014af7021d6e2f31516534c7397c4f83b7 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 12 Dec 2016 12:02:25 +0100 Subject: [PATCH] Fixed: Compilation --- code/ryzom/tools/stats_scan/character_scan_job.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/stats_scan/character_scan_job.cpp b/code/ryzom/tools/stats_scan/character_scan_job.cpp index 47593ba81..9d5d66ee8 100644 --- a/code/ryzom/tools/stats_scan/character_scan_job.cpp +++ b/code/ryzom/tools/stats_scan/character_scan_job.cpp @@ -21,6 +21,7 @@ #include "nel/misc/variable.h" #include "nel/misc/path.h" +#include "nel/misc/common.h" #include "game_share/persistent_data.h" @@ -52,7 +53,7 @@ CCharacterScanJob::CCharacterScanJob() // open the output file for the character table std::string filename= "char_tbl.csv"; - _CharTblFile = nlfopen(filename, "wb"); + _CharTblFile = NLMISC::nlfopen(filename, "wb"); if (_CharTblFile==NULL) { nlwarning("Failed to open output file: %s",filename.c_str()); @@ -73,7 +74,7 @@ CCharacterScanJob::~CCharacterScanJob() { // create the output file name and open the file for writing std::string filename="char_stats_"+(*it).first+".csv"; - FILE* f = nlfopen(filename, "wb"); + FILE* f = NLMISC::nlfopen(filename, "wb"); if (f==NULL) { nlwarning("Failed to open output file: %s",filename.c_str());