summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2013-06-07 14:41:21 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2013-06-07 14:41:21 +0000
commitb44273fc9dfcbd9236b2d4366b356a0ed586368b (patch)
tree8f1a12b09cfd65d87da64dea1be717e4dab6df40
parentdccc446f526322620f503875e99f894d5b847a86 (diff)
downloadATCD-b44273fc9dfcbd9236b2d4366b356a0ed586368b.tar.gz
Fri Jun 7 14:39:01 UTC 2013 Phil Mesnier <mesnier_p@ociweb.com>
* tests/SOCK_Dgram_Test.cpp: Potential fix for a warning on the wchar scoreboard.
-rw-r--r--ACE/ChangeLog6
-rw-r--r--ACE/tests/SOCK_Dgram_Test.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index fc008946296..ab065f6ca70 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jun 7 14:39:01 UTC 2013 Phil Mesnier <mesnier_p@ociweb.com>
+
+ * tests/SOCK_Dgram_Test.cpp:
+
+ Potential fix for a warning on the wchar scoreboard.
+
Thu Jun 6 17:02:06 UTC 2013 Phil Mesnier <mesnier_p@ociweb.com>
* include/makeinclude/rules.lib.GNU:
diff --git a/ACE/tests/SOCK_Dgram_Test.cpp b/ACE/tests/SOCK_Dgram_Test.cpp
index 7b4399484c9..0cd5aa57f34 100644
--- a/ACE/tests/SOCK_Dgram_Test.cpp
+++ b/ACE/tests/SOCK_Dgram_Test.cpp
@@ -111,7 +111,7 @@ client (void *arg)
}
else
{
- buf[rcv_siz] = '\0';
+ buf[rcv_siz/sizeof (ACE_TCHAR)] = '\0';
if (ACE_OS::strncmp (buf, TEST_DATA, ACE_OS::strlen (TEST_DATA)))
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%P|%t) recv string should be %s; ")