diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-31 20:38:55 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-31 20:38:55 +0000 |
commit | e413bc3974f499035f3695ef85c4f937d0d310bb (patch) | |
tree | e91261a1f405514c913458a1c73a5da2c681fc72 /libjava/posix.cc | |
parent | 2aa80b7239135ba4260dfc01ccc3f4caa6266e32 (diff) | |
download | gcc-e413bc3974f499035f3695ef85c4f937d0d310bb.tar.gz |
2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
* posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/posix.cc')
-rw-r--r-- | libjava/posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/posix.cc b/libjava/posix.cc index e23eac269cc..608fd5dad90 100644 --- a/libjava/posix.cc +++ b/libjava/posix.cc @@ -71,7 +71,7 @@ _Jv_platform_nanotime () { #ifdef HAVE_CLOCK_GETTIME struct timespec now; - int id; + clockid_t id; #ifdef CLOCK_MONOTONIC id = CLOCK_MONOTONIC; #elif defined (CLOCK_HIGHRES) |