mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Fix 2 for linux compile failure
This commit is contained in:
parent
7ca6f008d6
commit
8d69ff5826
@ -2121,7 +2121,7 @@ int Database::CountInvSnapshots() {
|
|||||||
auto row = results.begin();
|
auto row = results.begin();
|
||||||
|
|
||||||
int64 count = atoll(row[0]);
|
int64 count = atoll(row[0]);
|
||||||
if (count > INT_MAX)
|
if (count > 2147483647)
|
||||||
return -2;
|
return -2;
|
||||||
if (count < 0)
|
if (count < 0)
|
||||||
return -3;
|
return -3;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user