summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-03-12 17:01:48 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-03-12 17:01:48 +0000
commitcfc6e08944509b5e221a6162702df241f62c4c66 (patch)
treeb3651abd9d31e6416c4ff08d927f8d49233f4bab
parent2ed957fe63be7982cee64c33962af8c4dbcd1cd9 (diff)
downloadATCD-cfc6e08944509b5e221a6162702df241f62c4c66.tar.gz
ChangeLogTag:Wed Mar 12 08:59:18 2003 Ossama Othman <ossama@uci.edu>
-rw-r--r--ChangeLog8
-rw-r--r--ace/Log_Msg.cpp4
-rw-r--r--tests/Proactor_Test.cpp8
3 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 968022dbe4b..65d992c9726 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Wed Mar 12 08:59:18 2003 Ossama Othman <ossama@uci.edu>
+
+ * ace/Log_Msg.cpp (log_hexdump):
+ * tests/Proactor_Test.cpp:
+
+ Another round of format specifier corrections. "%lu" instead of
+ "%u". Addresses warnings in 64 bit platform builds.
+
Wed Mar 12 10:42:40 2003 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Creator.pm:
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index f8901352328..9e281943124 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -2073,12 +2073,12 @@ ACE_Log_Msg::log_hexdump (ACE_Log_Priority log_priority,
text);
sz += ACE_OS::sprintf (msg_buf + sz,
- ACE_LIB_TEXT ("HEXDUMP %u bytes"),
+ ACE_LIB_TEXT ("HEXDUMP %lu bytes"),
size);
if (len < size)
ACE_OS::sprintf (msg_buf + sz,
- ACE_LIB_TEXT (" (showing first %u bytes)"),
+ ACE_LIB_TEXT (" (showing first %lu bytes)"),
len);
// Now print out the formatted buffer.
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp
index 57e069961df..4b0340a74f4 100644
--- a/tests/Proactor_Test.cpp
+++ b/tests/Proactor_Test.cpp
@@ -2000,12 +2000,12 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_TCHAR bufr [256];
ACE_OS::sprintf (bufs,
- ACE_TEXT ("%u(%ld)"),
+ ACE_TEXT ("%lu(%ld)"),
connector.get_total_snd (),
connector.get_total_w ());
ACE_OS::sprintf (bufr,
- ACE_TEXT ("%u(%ld)"),
+ ACE_TEXT ("%lu(%ld)"),
connector.get_total_rcv (),
connector.get_total_r ());
@@ -2014,11 +2014,11 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
bufs,
bufr));
- ACE_OS::sprintf (bufs, ACE_TEXT ("%u(%ld)"),
+ ACE_OS::sprintf (bufs, ACE_TEXT ("%lu(%ld)"),
acceptor.get_total_snd (),
acceptor.get_total_w ());
- ACE_OS::sprintf (bufr, ACE_TEXT ("%u(%ld)"),
+ ACE_OS::sprintf (bufr, ACE_TEXT ("%lu(%ld)"),
acceptor.get_total_rcv (),
acceptor.get_total_r ());