mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
889b90a108
commit
bb0774f330
|
|
@ -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>
|
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 ()
|
||||||
{
|
{
|
||||||
struct timeb t;
|
struct timeb t;
|
||||||
ftime (&t);
|
ftime (&t);
|
||||||
return t.time * 1000 + t.millitm;
|
return t.time * 1000LL + t.millitm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue