Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-09-03 21:55:57 -07:00
parent 1e1c596dda
commit 5179d3149a
20 changed files with 69 additions and 57 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ uint32 AccountMgr::GetSecurity(uint32 acc_id)
return 0;
}
uint32 AccountMgr::GetSecurity(uint32 acc_id, int32 realm_id)
uint32 AccountMgr::GetSecurity(uint64 acc_id, int32 realm_id)
{
QueryResult_AutoPtr result = (realm_id == -1)
? LoginDatabase.PQuery("SELECT gmlevel FROM account_access WHERE id = '%u' AND RealmID = '%d'", acc_id, realm_id)
+1 -1
View File
@@ -51,7 +51,7 @@ class AccountMgr
uint32 GetId(std::string username);
uint32 GetSecurity(uint32 acc_id);
uint32 GetSecurity(uint32 acc_id, int32 realm_id);
uint32 GetSecurity(uint64 acc_id, int32 realm_id);
bool GetName(uint32 acc_id, std::string &name);
uint32 GetCharactersCount(uint32 acc_id);
std::string CalculateShaPassHash(std::string& name, std::string& password);