From e1cc2b2778f70e065dbe4189d50399c926a6221c Mon Sep 17 00:00:00 2001 From: uweigand Date: Fri, 22 Oct 2004 15:27:04 +0000 Subject: * gnu/java/net/natPlainSocketImplPosix.cc (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl with 'int *' argument instead of 'long *'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89450 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gnu/java/net/natPlainSocketImplPosix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/gnu') diff --git a/libjava/gnu/java/net/natPlainSocketImplPosix.cc b/libjava/gnu/java/net/natPlainSocketImplPosix.cc index 7fd4fe04d6f..a62378101ad 100644 --- a/libjava/gnu/java/net/natPlainSocketImplPosix.cc +++ b/libjava/gnu/java/net/natPlainSocketImplPosix.cc @@ -463,7 +463,7 @@ jint gnu::java::net::PlainSocketImpl::available(void) { #if defined(FIONREAD) || defined(HAVE_SELECT) - long num = 0; + int num = 0; int r = 0; bool num_set = false; -- cgit v1.2.1