X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6c6628047db7319e630e6a8e660c5207ea83748e..54a10a471694273384a0d07a8888c2d40a9daa0b:/tests/testadmin.h 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); }