ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_win32.c
(Generate patch)

Comparing libev/ev_win32.c (file contents):
Revision 1.11 by root, Mon Jun 29 07:22:56 2009 UTC vs.
Revision 1.12 by root, Mon Jun 29 07:27:54 2009 UTC

144 GetSystemTimeAsFileTime (&ft); 144 GetSystemTimeAsFileTime (&ft);
145 ui.u.LowPart = ft.dwLowDateTime; 145 ui.u.LowPart = ft.dwLowDateTime;
146 ui.u.HighPart = ft.dwHighDateTime; 146 ui.u.HighPart = ft.dwHighDateTime;
147 147
148 /* msvc cannot convert ulonglong to double... yes, it is that sucky */ 148 /* msvc cannot convert ulonglong to double... yes, it is that sucky */
149 return (__int64)(ui.QuadPart - 116444736000000000) * 1e-7; 149 return (LONGLONG)(ui.QuadPart - 116444736000000000) * 1e-7;
150} 150}
151 151
152#endif 152#endif
153 153

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines