diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-10 22:14:43 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-10 22:14:43 +0000 |
commit | f4d28e9844f94662c4971a9063e65945647a7722 (patch) | |
tree | 598d753cc4138546c8a42acb708a14c4565ab9d3 | |
parent | b4df365a8953a7a5b832d4915e9b046e28c7b196 (diff) | |
download | ATCD-f4d28e9844f94662c4971a9063e65945647a7722.tar.gz |
The buffer should always be of type (const char *).
-rw-r--r-- | ace/ACE.cpp | 2 | ||||
-rw-r--r-- | ace/ACE.h | 2 | ||||
-rw-r--r-- | ace/Log_Msg.cpp | 2 | ||||
-rw-r--r-- | ace/Log_Msg.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index 03a1f5b1651..5bc9dd8d171 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -1251,7 +1251,7 @@ ACE::writev (ACE_HANDLE handle, // Modifications by Todd Montgomery. int -ACE::format_hexdump (const ASYS_TCHAR *buffer, int size, +ACE::format_hexdump (const char *buffer, int size, ASYS_TCHAR *obuf, int obuf_sz) { ACE_TRACE ("ACE::format_hexdump"); diff --git a/ace/ACE.h b/ace/ACE.h index ea4f918280c..26756f1f3ff 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -498,7 +498,7 @@ public: static size_t round_to_pagesize (off_t length); // Rounds the request to a multiple of the page size. - static int format_hexdump (const ASYS_TCHAR *buffer, int size, + static int format_hexdump (const char *buffer, int size, ASYS_TCHAR *obuf, int obuf_sz); // Format buffer into printable format. This is useful for // debugging. diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index e830bdba177..6547ff6f2d3 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -1000,7 +1000,7 @@ ACE_Log_Msg::log (ACE_Log_Record &log_record, int ACE_Log_Msg::log_hexdump (ACE_Log_Priority log_priority, - const ASYS_TCHAR *buffer, + const char *buffer, int size, const ASYS_TCHAR *text) { diff --git a/ace/Log_Msg.h b/ace/Log_Msg.h index 1f3260d1bdc..32f6275e42d 100644 --- a/ace/Log_Msg.h +++ b/ace/Log_Msg.h @@ -323,7 +323,7 @@ public: // sinks. int log_hexdump (ACE_Log_Priority log_priority, - const ASYS_TCHAR *buffer, + const char *buffer, int size, const ASYS_TCHAR *text = 0); // Method to log hex dump. This is useful for debugging. Calls |