aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Authentication/AuthCodes.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-12-07 14:43:46 +0100
committerShauren <shauren.trinity@gmail.com>2019-12-07 14:43:46 +0100
commit3bf44a589175e2c5036edf5f07827e76ee11dc1e (patch)
treec439c17bed1620709be97a8e4741f2fceb06accd /src/server/authserver/Authentication/AuthCodes.cpp
parent35b1b55435d9b39e014cf3d196c6342663877070 (diff)
warning fix
Diffstat (limited to 'src/server/authserver/Authentication/AuthCodes.cpp')
-rw-r--r--src/server/authserver/Authentication/AuthCodes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/authserver/Authentication/AuthCodes.cpp b/src/server/authserver/Authentication/AuthCodes.cpp
index a3877c26ce2..27a6be0d8bc 100644
--- a/src/server/authserver/Authentication/AuthCodes.cpp
+++ b/src/server/authserver/Authentication/AuthCodes.cpp
@@ -22,17 +22,17 @@ namespace AuthHelper
{
constexpr static uint32 MAX_PRE_BC_CLIENT_BUILD = 6141;
- bool IsPreBCAcceptedClientBuild(int build)
+ bool IsPreBCAcceptedClientBuild(uint32 build)
{
return build <= MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build);
}
- bool IsPostBCAcceptedClientBuild(int build)
+ bool IsPostBCAcceptedClientBuild(uint32 build)
{
return build > MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build);
}
- bool IsAcceptedClientBuild(int build)
+ bool IsAcceptedClientBuild(uint32 build)
{
return sRealmList->GetBuildInfo(build) != nullptr;
}