summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-25 13:38:27 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-25 13:38:27 +0000
commit8bbcba6b7a48fd8f6e72728c4b78d9df157bf2de (patch)
tree96fa4b6b900806b927e3ab5d531febc57d33f2ed
parent97970ce6092ccca15468ebcb64c05b9903750024 (diff)
removed 'xxxLL' number not understood by some compilers
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@76 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--tipper/translations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tipper/translations.cpp b/tipper/translations.cpp
index 276ddcd..17ce9b1 100644
--- a/tipper/translations.cpp
+++ b/tipper/translations.cpp
@@ -494,7 +494,7 @@ TCHAR *day_month_year_hours_minutes_seconds_to_time_difference(HANDLE hContact,
li.HighPart = ft.dwHighDateTime; li.LowPart = ft.dwLowDateTime;
li_now.HighPart = ft_now.dwHighDateTime; li_now.LowPart = ft_now.dwLowDateTime;
- long diff = (long)((li_now.QuadPart - li.QuadPart) / (LONGLONG)10000000LL);
+ long diff = (long)((li_now.QuadPart - li.QuadPart) / (LONGLONG)10000000L);
int y = diff / 60 / 60 / 24 / 365;
int d = (diff - y * 60 * 60 * 24 * 365) / 60 / 60 / 24;
int h = (diff - y * 60 * 60 * 24 * 365 - d * 60 * 60 * 24) / 60 / 60;