From 5fef8b7828cf079cf561199120c1f2f1ba409f46 Mon Sep 17 00:00:00 2001 From: Arthur Dene Ice Date: Sat, 10 May 2014 12:36:01 -0700 Subject: [PATCH] int32 int64 explicit conversion --- zone/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index 4fce2a53f..048d51d29 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -2168,7 +2168,7 @@ void Client::AddMoneyToPP(uint64 copper, bool updateclient){ // Add Amount of Platinum tmp2 = tmp/1000; - int32 new_val = m_pp.platinum + tmp2; + int64 new_val = m_pp.platinum + tmp2; if(new_val < 0) { m_pp.platinum = 0; } else {