X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/954d3cb777db09587845bcc8b2d959d7a48e5bed..8c6fa3fbaccc22127280bf77a48fab5a3ee0716e:/stglibs/srvconf.lib/parsers/get_admin.cpp?ds=sidebyside diff --git a/stglibs/srvconf.lib/parsers/get_admin.cpp b/stglibs/srvconf.lib/parsers/get_admin.cpp index 29e35ba7..9f4ec5d4 100644 --- a/stglibs/srvconf.lib/parsers/get_admin.cpp +++ b/stglibs/srvconf.lib/parsers/get_admin.cpp @@ -39,7 +39,7 @@ bool GetValue(const char ** attr, PRIV & value, const std::string & attrNa uint32_t priv; if (!GetValue(attr, priv, attrName)) return false; -value = priv; +value = PRIV(priv); return true; }