From 3bf44a589175e2c5036edf5f07827e76ee11dc1e Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 7 Dec 2019 14:43:46 +0100 Subject: warning fix --- src/server/authserver/Authentication/AuthCodes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/authserver/Authentication/AuthCodes.cpp') 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; } -- cgit v1.2.3