summaryrefslogtreecommitdiff
path: root/ACE/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols')
-rw-r--r--ACE/protocols/tests/RMCast/Receiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/protocols/tests/RMCast/Receiver.cpp b/ACE/protocols/tests/RMCast/Receiver.cpp
index 59dde33a069..75969740aea 100644
--- a/ACE/protocols/tests/RMCast/Receiver.cpp
+++ b/ACE/protocols/tests/RMCast/Receiver.cpp
@@ -101,7 +101,7 @@ ACE_TMAIN (int argc, ACE_TCHAR* argv[])
if (ACE_OS::memcmp (expected_msg.payload,
msg.payload,
- payload_size) != 0)
+ payload_size * sizeof(short)) != 0)
{
damaged[msg.sn] = 1;
}