summaryrefslogtreecommitdiff
path: root/examples/ASX/Message_Queue/buffer_stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ASX/Message_Queue/buffer_stream.cpp')
-rw-r--r--examples/ASX/Message_Queue/buffer_stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ASX/Message_Queue/buffer_stream.cpp b/examples/ASX/Message_Queue/buffer_stream.cpp
index b1f918cfef5..cef4a62ae51 100644
--- a/examples/ASX/Message_Queue/buffer_stream.cpp
+++ b/examples/ASX/Message_Queue/buffer_stream.cpp
@@ -242,7 +242,7 @@ Filter::put (ACE_Message_Block *mb,
// Prepend the line count in front of the buffer.
ACE_OS::sprintf (mb->rd_ptr (),
- ACE_SIZE_T_FORMAT_SPECIFIER
+ ACE_SIZE_T_FORMAT_SPECIFIER_A
": %s",
this->count_++,
buf);
@@ -302,7 +302,7 @@ ACE_TMAIN (int, ACE_TCHAR *argv[])
}
#else
int
-main (int, char *[])
+ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("threads not supported on this platform\n")));