From 0eee94c3a780e0e9f87b26145b557a99e84d25e0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Mar 2021 20:38:45 +0300 Subject: 21 years after Win2k release we don't need win2k.h - everything we need is included into minimum Windows SDK 7.1 --- plugins/TipperYM/src/stdafx.h | 1 - plugins/TipperYM/src/translations.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/TipperYM/src') 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 #include -#include #include #include #include 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); -- cgit v1.2.3