diff options
Diffstat (limited to 'ACE/ace/OS_NS_string.cpp')
-rw-r--r-- | ACE/ace/OS_NS_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_string.cpp b/ACE/ace/OS_NS_string.cpp index 8277f5a9eef..6ecb89b860a 100644 --- a/ACE/ace/OS_NS_string.cpp +++ b/ACE/ace/OS_NS_string.cpp @@ -152,7 +152,7 @@ ACE_OS::strerror (int errnum) char * ACE_OS::strerror_emulation (int) { - return "Unknown Error"; + return const_cast <char*> ("Unknown Error"); } #endif /* ACE_LACKS_STRERROR */ |