diff options
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); |