[Cleanup] Cleanup Strings::ToInt uses. (#3142)

* [Cleanup] Cleanup Strings::ToInt uses.

* fix for conversion

* remove != 0

* cleanup
This commit is contained in:
Aeadoin
2023-03-25 20:32:30 -04:00
committed by GitHub
parent 9d1ace627c
commit eb51550109
11 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -812,7 +812,7 @@ uint32 Database::GetAccountIDByChar(const char* charname, uint32* oCharID) {
auto row = results.begin();
uint32 accountId = Strings::ToInt(row[0]);
uint32 accountId = Strings::ToUnsignedInt(row[0]);
if (oCharID)
*oCharID = Strings::ToUnsignedInt(row[1]);