From: Tomek Mrugalski Date: Fri, 16 Oct 2015 12:57:52 +0000 (+0200) Subject: [master] Compilation fix. X-Git-Tag: trac3874_base~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa12ee895f58a54611fe1956a0929c9d5afe6bda;p=thirdparty%2Fkea.git [master] Compilation fix. --- diff --git a/tools/system_messages.cc b/tools/system_messages.cc index cc1344fcd2..f12dc5ad9e 100644 --- a/tools/system_messages.cc +++ b/tools/system_messages.cc @@ -508,7 +508,7 @@ void processFileContent(const std::string& filename, void processFile(const std::string& filename) { std::ifstream cin; - cin.open(filename, std::ios::in); + cin.open(filename.c_str(), std::ios::in); if (!cin.is_open()) { reportError(filename, "open for read failure"); }