mirror of git://gcc.gnu.org/git/gcc.git
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
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-11 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
|
* gnu/java/net/natPlainSocketImplPosix.cc
|
||||||
|
(read): Fixed typo in expression.
|
||||||
|
|
||||||
2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
|
2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
|
||||||
|
|
||||||
* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
|
* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
|
||||||
|
|
|
@ -380,7 +380,7 @@ gnu::java::net::PlainSocketImpl$SocketInputStream::read(void)
|
||||||
jbyte data;
|
jbyte data;
|
||||||
|
|
||||||
if (read_helper (this$0->native_fd, this$0->timeout, &data, 1) == 1)
|
if (read_helper (this$0->native_fd, this$0->timeout, &data, 1) == 1)
|
||||||
return data && 0xFF;
|
return data & 0xFF;
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue