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 | 5abffe5755afad2658a6645da18183dac277eae7 (patch) | |
tree | daa77d83e4349614b88e721b2577a21567556458 /tests/IOStream_Test.cpp | |
parent | c5783a886dd3b67579e93595d7e43bd9a7e152c9 (diff) | |
download | ATCD-5abffe5755afad2658a6645da18183dac277eae7.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/IOStream_Test.cpp')
-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); |