From b9e8aea16c4b31de3c72a77bf6f41807843419bd Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 18 Feb 2002 02:52:44 +0000 Subject: * 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 --- libjava/gnu/gcj/convert/natIconv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/gnu') 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) -- cgit v1.2.1