From 9ecc578cb187cc1ae0fd454883dab0cd058d3807 Mon Sep 17 00:00:00 2001 From: joschiwald Date: Mon, 29 Dec 2014 01:00:16 +0100 Subject: Core/Scripts: multiple changes - fixed non pch build - fixed some warnings - fixed some coverity issues - some random things here and there --- src/server/shared/Utilities/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/shared/Utilities/Util.cpp') diff --git a/src/server/shared/Utilities/Util.cpp b/src/server/shared/Utilities/Util.cpp index c4049ae6315..acc18c0a066 100644 --- a/src/server/shared/Utilities/Util.cpp +++ b/src/server/shared/Utilities/Util.cpp @@ -197,7 +197,7 @@ int64 MoneyStringToMoney(const std::string& moneyString) if (gCount + sCount + cCount != 1) return 0; - uint64 amount = atol(*itr); + uint64 amount = atoull(*itr); if (gCount == 1) money += amount * 100 * 100; else if (sCount == 1) -- cgit v1.2.3