]> git.stg.codes - stg.git/blobdiff - projects/sgconf/xml.cpp
Fix old-style casts.
[stg.git] / projects / sgconf / xml.cpp
index abf2ccc62e96f8643a9ff808d5a344c7d3964bd7..61587a14d0b7942b6426d0667171083131e8b44f 100644 (file)
@@ -87,7 +87,7 @@ bool RawXMLFunction(const SGCONF::CONFIG & config,
                     const std::string & arg,
                     const std::map<std::string, std::string> & /*options*/)
 {
-STG::SERVCONF proto(config.server.data(),
+STG::ServConf proto(config.server.data(),
                     config.port.data(),
                     config.localAddress.data(),
                     config.localPort.data(),