Fix for linux compile failure

This commit is contained in:
Uleat 2018-09-09 18:29:14 -04:00
parent 5867a3147a
commit 7ca6f008d6

View File

@ -2070,7 +2070,7 @@ int ZoneDatabase::CountCharacterInvSnapshots(uint32 character_id) {
auto row = results.begin();
int64 count = atoll(row[0]);
if (count > INT_MAX)
if (count > 2147483647)
return -2;
if (count < 0)
return -3;