diff options
-rw-r--r-- | src/server/authserver/Authentication/AuthCodes.cpp | 6 | ||||
-rw-r--r-- | src/server/authserver/Authentication/AuthCodes.h | 6 |
2 files changed, 6 insertions, 6 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; } diff --git a/src/server/authserver/Authentication/AuthCodes.h b/src/server/authserver/Authentication/AuthCodes.h index 1441e0e16f3..29deeb16255 100644 --- a/src/server/authserver/Authentication/AuthCodes.h +++ b/src/server/authserver/Authentication/AuthCodes.h @@ -84,9 +84,9 @@ struct RealmBuildInfo; namespace AuthHelper { - bool IsAcceptedClientBuild(int build); - bool IsPostBCAcceptedClientBuild(int build); - bool IsPreBCAcceptedClientBuild(int build); + bool IsAcceptedClientBuild(uint32 build); + bool IsPostBCAcceptedClientBuild(uint32 build); + bool IsPreBCAcceptedClientBuild(uint32 build); } #endif |