diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-18 02:52:44 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-18 02:52:44 +0000 |
commit | b9e8aea16c4b31de3c72a77bf6f41807843419bd (patch) | |
tree | 072c351afd7a4ed8a7e0bca3305104cb627eeea2 /libjava/gnu | |
parent | 792433e378e74abeabe215950959e2848050b147 (diff) | |
download | gcc-b9e8aea16c4b31de3c72a77bf6f41807843419bd.tar.gz |
* name-finder.cc (toHex): Use word mode, not long long.
* gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/gcj/convert/natIconv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/gnu/gcj/convert/natIconv.cc b/libjava/gnu/gcj/convert/natIconv.cc index 3c10c8ace61..0ed8606f94b 100644 --- a/libjava/gnu/gcj/convert/natIconv.cc +++ b/libjava/gnu/gcj/convert/natIconv.cc @@ -213,7 +213,7 @@ gnu::gcj::convert::Output_iconv::write (jcharArray inbuffer, size_t r = iconv_adapter (iconv, (iconv_t) handle, &inbuf, &inavail, &outbuf, &outavail); - if (r == -1 && inavail == loop_old_in) + if (r == (size_t) -1 && inavail == loop_old_in) { inavail -= 2; if (inavail == 0) |