2004-05-11 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc (read): Fixed typo in expression. From-SVN: r81714
This commit is contained in:
parent
525696406d
commit
8f0b9daaa2
2 changed files with 6 additions and 1 deletions
|
@ -380,7 +380,7 @@ gnu::java::net::PlainSocketImpl$SocketInputStream::read(void)
|
|||
jbyte data;
|
||||
|
||||
if (read_helper (this$0->native_fd, this$0->timeout, &data, 1) == 1)
|
||||
return data && 0xFF;
|
||||
return data & 0xFF;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue