Commit bb0774f3 by Adam Megacz Committed by Adam Megacz

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
parent 889b90a1
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> 2002-03-09 Per Bothner <per@bothner.com>
* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0. * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
......
...@@ -45,6 +45,6 @@ _Jv_platform_gettimeofday () ...@@ -45,6 +45,6 @@ _Jv_platform_gettimeofday ()
{ {
struct timeb t; struct timeb t;
ftime (&t); ftime (&t);
return t.time * 1000 + t.millitm; return t.time * 1000LL + t.millitm;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment