X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6c6628047db7319e630e6a8e660c5207ea83748e..4fe29c0b67d4408bcf631e3463eafbffca103a3f:/tests/testadmin.h?ds=sidebyside diff --git a/tests/testadmin.h b/tests/testadmin.h index bc11daa9..f10df54e 100644 --- a/tests/testadmin.h +++ b/tests/testadmin.h @@ -10,7 +10,7 @@ class TEST_ADMIN : public ADMIN { const std::string & GetPassword() const { return password; } const std::string & GetLogin() const { return login; } PRIV const * GetPriv() const { return &priv; } - uint16_t GetPrivAsInt() const { return priv.ToInt(); } + uint32_t GetPrivAsInt() const { return priv.ToInt(); } const ADMIN_CONF & GetConf() const { return conf; } uint32_t GetIP() const { return ip; } std::string GetIPStr() const { return inet_ntostring(ip); }