2002-03-09 Adam Megacz <adam@xwt.org>

* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
        avoid precision loss.

From-SVN: r50511
This commit is contained in:
Adam Megacz 2002-03-09 22:08:35 +00:00 committed by Adam Megacz
parent 889b90a108
commit bb0774f330
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-03-09 Adam Megacz <adam@xwt.org>
* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
avoid precision loss.
2002-03-09 Per Bothner <per@bothner.com>
* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.

View File

@ -45,6 +45,6 @@ _Jv_platform_gettimeofday ()
{
struct timeb t;
ftime (&t);
return t.time * 1000 + t.millitm;
return t.time * 1000LL + t.millitm;
}