diff options
author | megacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-09 22:08:35 +0000 |
---|---|---|
committer | megacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-09 22:08:35 +0000 |
commit | fc7a06c1bddb973e6af84c65fb94d410b5bcf60d (patch) | |
tree | da711fb17adada120c6622f64c891abe07ce63c6 /libjava/win32.cc | |
parent | 1b6747c36aa22b0497330a974e8f0b2a7d1c6ee0 (diff) | |
download | gcc-fc7a06c1bddb973e6af84c65fb94d410b5bcf60d.tar.gz |
2002-03-09 Adam Megacz <adam@xwt.org>
* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
avoid precision loss.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50511 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/win32.cc')
-rw-r--r-- | libjava/win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/win32.cc b/libjava/win32.cc index a019cb75806..22139c99f4a 100644 --- a/libjava/win32.cc +++ b/libjava/win32.cc @@ -45,6 +45,6 @@ _Jv_platform_gettimeofday () { struct timeb t; ftime (&t); - return t.time * 1000 + t.millitm; + return t.time * 1000LL + t.millitm; } |