X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6c6628047db7319e630e6a8e660c5207ea83748e..2db61d00612cf97d1c733277bc8828b23446969c:/tests/testadmin.h?ds=inline 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); }