* gnu/java/net/natPlainSocketImplPosix.cc
(gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl with 'int *' argument instead of 'long *'. From-SVN: r89450
This commit is contained in:
committed by
Ulrich Weigand
parent
279b5b3c95
commit
969def5539
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user