summaryrefslogtreecommitdiff
path: root/protocols/Skype
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-05-01 16:13:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-05-01 16:13:57 +0000
commit87c783351e69bebd228d58ba496fd1ecddb13277 (patch)
treefbb92115b5e5f31f86f443c4cea718aa44217f22 /protocols/Skype
parent1d56cc47633f95ea0e2865b808d4e4732ef8abe5 (diff)
fixed timezone counting
git-svn-id: http://svn.miranda-ng.org/main/trunk@4579 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-rw-r--r--protocols/Skype/src/skype_profile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_profile.cpp b/protocols/Skype/src/skype_profile.cpp
index 6d28d3a9bb..13218da0dd 100644
--- a/protocols/Skype/src/skype_profile.cpp
+++ b/protocols/Skype/src/skype_profile.cpp
@@ -263,10 +263,10 @@ void CSkypeProto::UpdateProfileStatusMessage(SEObject *obj, HANDLE hContact)
void CSkypeProto::UpdateProfileTimezone(SEObject *obj, HANDLE hContact)
{
- uint data = hContact ? obj->GetUintProp(Contact::P_TIMEZONE) : obj->GetUintProp(Account::P_TIMEZONE);
+ LONG data = hContact ? obj->GetUintProp(Contact::P_TIMEZONE) : obj->GetUintProp(Account::P_TIMEZONE);
if (data > 0)
{
- uint diffmin = (data - 24*3600) / 60;
+ LONG diffmin = (data - 24*3600) / 60;
wchar_t sign[2];
if (diffmin < 0)
::wcscpy(sign, L"-");