summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-28 20:38:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-28 20:38:45 +0300
commit0eee94c3a780e0e9f87b26145b557a99e84d25e0 (patch)
tree58287520f0c2284550764d5f66bbf0b7e5ded155 /plugins/TipperYM/src
parent96171674a3c346419d490705d4e3b4e53d2f8ae4 (diff)
21 years after Win2k release we don't need win2k.h - everything we need is included into minimum Windows SDK 7.1
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r--plugins/TipperYM/src/stdafx.h1
-rw-r--r--plugins/TipperYM/src/translations.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/stdafx.h b/plugins/TipperYM/src/stdafx.h
index 0804c9e2af..1bc6c5d898 100644
--- a/plugins/TipperYM/src/stdafx.h
+++ b/plugins/TipperYM/src/stdafx.h
@@ -28,7 +28,6 @@ Boston, MA 02111-1307, USA.
#include <windowsx.h>
#include <malloc.h>
-#include <win2k.h>
#include <newpluginapi.h>
#include <m_avatars.h>
#include <m_awaymsg.h>
diff --git a/plugins/TipperYM/src/translations.cpp b/plugins/TipperYM/src/translations.cpp
index 36bfd55bc4..3f506ac7c8 100644
--- a/plugins/TipperYM/src/translations.cpp
+++ b/plugins/TipperYM/src/translations.cpp
@@ -656,7 +656,7 @@ wchar_t *TimezoneToTime(MCONTACT hContact, const char *szModuleName, const char
timezone += tzi.DaylightBias / 30;
lift.QuadPart = *(__int64*)&ft;
- lift.QuadPart -= (__int64)timezone * BIGI(30) * BIGI(60) * BIGI(10000000);
+ lift.QuadPart -= (__int64)timezone * 30ll * 60ll * 10000000ll;
*(__int64*)&ft = lift.QuadPart;
FileTimeToSystemTime(&ft, &st);
GetTimeFormat(LOCALE_USER_DEFAULT, TIME_NOSECONDS, &st, nullptr, buff, bufflen);