diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-13 09:40:44 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-13 09:40:44 +0000 |
commit | 17d81436e4fe63562d28e02a18973769d6b02ab9 (patch) | |
tree | 2660d4c34fb94d67c5aeb85015d024970a15296d /ACE/examples | |
parent | 1d8d026127dc2347c232f0d3ebec976de837a1cc (diff) | |
download | ATCD-17d81436e4fe63562d28e02a18973769d6b02ab9.tar.gz |
Sun Mar 13 09:37:13 UTC 2011 Vladimir Zykov <vladimir.zykov@prismtech.com>
* ace/Service_Object.cpp:
* ace/Naming_Context.cpp:
* performance-tests/UDP/udp_test.cpp:
* performance-tests/SCTP/Options_Manager.cpp:
* apps/gperf/src/Options.cpp:
* apps/JAWS/clients/Blobby/Blob_Handler.cpp:
* examples/Log_Msg/test_callback.cpp:
* examples/IPC_SAP/FILE_SAP/client.cpp:
* examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp:
Fixed compile warnings from incorrect use of ACE_TCHAR* type in
printf in wchar builds.
Diffstat (limited to 'ACE/examples')
-rw-r--r-- | ACE/examples/IPC_SAP/FILE_SAP/client.cpp | 2 | ||||
-rw-r--r-- | ACE/examples/Log_Msg/test_callback.cpp | 4 | ||||
-rw-r--r-- | ACE/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ACE/examples/IPC_SAP/FILE_SAP/client.cpp b/ACE/examples/IPC_SAP/FILE_SAP/client.cpp index ee224beab5f..514ca9a27ef 100644 --- a/ACE/examples/IPC_SAP/FILE_SAP/client.cpp +++ b/ACE/examples/IPC_SAP/FILE_SAP/client.cpp @@ -81,7 +81,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) 1); ACE_OS::printf ("read back :%s\n", - readback); + ACE_TEXT_ALWAYS_CHAR (readback)); if (cli_file.close () == -1) ACE_ERROR_RETURN ((LM_ERROR, diff --git a/ACE/examples/Log_Msg/test_callback.cpp b/ACE/examples/Log_Msg/test_callback.cpp index 17bf724fcf3..ad776bbfe1e 100644 --- a/ACE/examples/Log_Msg/test_callback.cpp +++ b/ACE/examples/Log_Msg/test_callback.cpp @@ -78,7 +78,7 @@ Logger::log (ACE_Log_Record &log_record) log_record.msg_data ())); else ACE_OS::printf ("Recursive Logger callback = %s", - log_record.msg_data ()); + ACE_TEXT_ALWAYS_CHAR (log_record.msg_data ())); } else { @@ -94,7 +94,7 @@ Logger::log (ACE_Log_Record &log_record) verbose_msg)); else ACE_OS::printf ("Recursive Logger callback = %s", - verbose_msg); + ACE_TEXT_ALWAYS_CHAR (verbose_msg)); } } diff --git a/ACE/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp b/ACE/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp index 714ec0f9b8c..93e710b7f88 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp +++ b/ACE/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp @@ -22,7 +22,7 @@ static void print_usage_and_die (void) { ACE_OS::fprintf (stderr, "usage: %s [-p broadcast portnum]\n", - program_name); + ACE_TEXT_ALWAYS_CHAR (program_name)); ACE_OS::exit (1); } |