* 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:
parent
279b5b3c95
commit
969def5539
2 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue