X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9f529554bd6dfa4cba4027f51753db42326ab4d9..df56b2568e80784a3350fa9527430538fa792b79:/stglibs/srvconf.lib/parsers/chg_admin.cpp?ds=inline

diff --git a/stglibs/srvconf.lib/parsers/chg_admin.cpp b/stglibs/srvconf.lib/parsers/chg_admin.cpp
index 445ea280..14679dff 100644
--- a/stglibs/srvconf.lib/parsers/chg_admin.cpp
+++ b/stglibs/srvconf.lib/parsers/chg_admin.cpp
@@ -27,7 +27,7 @@
 
 using namespace STG;
 
-std::string CHG_ADMIN::Serialize(const ADMIN_CONF_RES & conf)
+std::string CHG_ADMIN::Serialize(const ADMIN_CONF_RES & conf, const std::string & /*encoding*/)
 {
 std::string params;
 if (!conf.login.empty())
@@ -35,6 +35,6 @@ if (!conf.login.empty())
 if (!conf.password.empty())
     params += " password=\"" + conf.password.data() + "\"";
 if (!conf.priv.empty())
-    params += " priv=\"" + x2str(conf.priv.data().ToInt()) + "\"";
+    params += " priv=\"" + unsigned2str(conf.priv.data().ToInt()) + "\"";
 return params;
 }