summaryrefslogtreecommitdiff
path: root/ACE/ace
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace')
-rw-r--r--ACE/ace/Log_Msg_NT_Event_Log.cpp2
-rw-r--r--ACE/ace/Log_Msg_NT_Event_Log.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Log_Msg_NT_Event_Log.cpp b/ACE/ace/Log_Msg_NT_Event_Log.cpp
index fc1844a81ce..a78bf9c58e0 100644
--- a/ACE/ace/Log_Msg_NT_Event_Log.cpp
+++ b/ACE/ace/Log_Msg_NT_Event_Log.cpp
@@ -99,7 +99,7 @@ ACE_Log_Msg_NT_Event_Log::close (void)
return -1;
}
-int
+ssize_t
ACE_Log_Msg_NT_Event_Log::log (ACE_Log_Record &log_record)
{
// Make a copy of the log text and replace any newlines with
diff --git a/ACE/ace/Log_Msg_NT_Event_Log.h b/ACE/ace/Log_Msg_NT_Event_Log.h
index 7b953e1cc0c..4bca6adaa20 100644
--- a/ACE/ace/Log_Msg_NT_Event_Log.h
+++ b/ACE/ace/Log_Msg_NT_Event_Log.h
@@ -58,7 +58,7 @@ public:
virtual int close (void);
/// This is called when we want to log a message.
- virtual int log (ACE_Log_Record &log_record);
+ virtual ssize_t log (ACE_Log_Record &log_record);
private:
HANDLE evlog_handle_;