diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-11 19:48:45 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-11 19:48:45 +0000 |
commit | edc16a06b490a27833a2049ba0af698b8c1899b6 (patch) | |
tree | e6dd07ee71860e6fff8a89bcf4fead2b8488135c /libjava/gnu | |
parent | b20f5036c5b3bdbcc3350ee651d4871a9333addf (diff) | |
download | gcc-edc16a06b490a27833a2049ba0af698b8c1899b6.tar.gz |
2004-05-11 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc
(read): Fixed typo in expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/java/net/natPlainSocketImplPosix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/gnu/java/net/natPlainSocketImplPosix.cc b/libjava/gnu/java/net/natPlainSocketImplPosix.cc index ee2f39352a5..7fd4fe04d6f 100644 --- a/libjava/gnu/java/net/natPlainSocketImplPosix.cc +++ b/libjava/gnu/java/net/natPlainSocketImplPosix.cc @@ -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; } |