]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Compilation fix.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 16 Oct 2015 12:57:52 +0000 (14:57 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 16 Oct 2015 12:57:52 +0000 (14:57 +0200)
tools/system_messages.cc

index cc1344fcd27cb20ce0fda581469f97d729f04eb2..f12dc5ad9e5177df7d3c5cd8a7092a39e1f560cc 100644 (file)
@@ -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");
     }