diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-08 19:41:51 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-08 19:41:51 +0000 |
commit | a6b0ae6fb69b9001d0939e1be1ac34918d7e7998 (patch) | |
tree | daa77d83e4349614b88e721b2577a21567556458 /tests | |
parent | c20e638e63629b749b657f8b8304ccc65fb2cbc9 (diff) | |
download | ATCD-a6b0ae6fb69b9001d0939e1be1ac34918d7e7998.tar.gz |
(operator>>): added (void *) casts to return values (istream &) of stream.get(c), because g++ on VxWorks can't disambiguate between its const void * and void * conversions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/IOStream_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/IOStream_Test.cpp b/tests/IOStream_Test.cpp index 32f9a0a3019..899c1fecf6e 100644 --- a/tests/IOStream_Test.cpp +++ b/tests/IOStream_Test.cpp @@ -105,11 +105,11 @@ operator>> (ACE_SOCK_IOStream & stream, qchar *buf) // if we don't have a quote, append until we see space if (c != '"') for (*buf++ = c; - stream.get(c) && !isspace(c); + (void *) stream.get(c) && !isspace(c); *buf++ = c) continue; else - for (; stream.get(c) && c != '"'; *buf++ = c) + for (; (void *) stream.get(c) && c != '"'; *buf++ = c) if (c == '\\') { stream.get(c); |