X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6c6628047db7319e630e6a8e660c5207ea83748e..389821ffc3891259fb41b2e9fe9b6f891ff24aa6:/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); }