diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2006-03-31 22:38:55 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-03-31 22:38:55 +0200 |
commit | 6b04402b9228b0d62e5dc8c3715543d19dde1e66 (patch) | |
tree | e91261a1f405514c913458a1c73a5da2c681fc72 /libjava/posix.cc | |
parent | f555078868311cf256382556bfb488d7e484db31 (diff) | |
download | gcc-6b04402b9228b0d62e5dc8c3715543d19dde1e66.zip gcc-6b04402b9228b0d62e5dc8c3715543d19dde1e66.tar.gz gcc-6b04402b9228b0d62e5dc8c3715543d19dde1e66.tar.bz2 |
posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
* posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
From-SVN: r112587
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 e23eac2..608fd5d 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) |