aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libev/ev_win32.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-24 16:36:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-24 16:36:43 +0000
commit4610fcee939fb6646703285d2da3b47a111d58eb (patch)
tree6b01864ccea44b37e6efc2553691b9e9dc6a1fa8 /contrib/libev/ev_win32.c
parent47ecc8cf045b157ed8b7f9cc74ba08516ccc6164 (diff)
downloadrspamd-4610fcee939fb6646703285d2da3b47a111d58eb.tar.gz
rspamd-4610fcee939fb6646703285d2da3b47a111d58eb.zip
[Feature] Update libev to 4.33
Changelog: http://cvs.schmorp.de/libev/Changes?pathrev=rel-4_33
Diffstat (limited to 'contrib/libev/ev_win32.c')
-rw-r--r--contrib/libev/ev_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libev/ev_win32.c b/contrib/libev/ev_win32.c
index fd671356a..97344c3e1 100644
--- a/contrib/libev/ev_win32.c
+++ b/contrib/libev/ev_win32.c
@@ -154,8 +154,8 @@ ev_time (void)
ui.u.LowPart = ft.dwLowDateTime;
ui.u.HighPart = ft.dwHighDateTime;
- /* msvc cannot convert ulonglong to double... yes, it is that sucky */
- return (LONGLONG)(ui.QuadPart - 116444736000000000) * 1e-7;
+ /* also, msvc cannot convert ulonglong to double... yes, it is that sucky */
+ return EV_TS_FROM_USEC (((LONGLONG)(ui.QuadPart - 116444736000000000) * 1e-1));
}
#endif