Browse Source

[master] Compilation fix.

Tomek Mrugalski 9 years ago
parent
commit
aa12ee895f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/system_messages.cc

+ 1 - 1
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");
     }