diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-01 16:13:57 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-01 16:13:57 +0000 |
commit | 87c783351e69bebd228d58ba496fd1ecddb13277 (patch) | |
tree | fbb92115b5e5f31f86f443c4cea718aa44217f22 /protocols/Skype | |
parent | 1d56cc47633f95ea0e2865b808d4e4732ef8abe5 (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.cpp | 4 |
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"-");
|