diff options
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r-- | plugins/TipperYM/src/stdafx.h | 1 | ||||
-rw-r--r-- | plugins/TipperYM/src/translations.cpp | 2 |
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);
|