summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_string.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-08-09 19:56:34 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-08-09 19:56:34 +0000
commit43dc093aa3eb828f120a9cc6291b7948fb8cab5f (patch)
tree8b696332a745d75dde8828d68129936a1c1eb024 /ACE/ace/OS_NS_string.cpp
parentaf92ec4ba9f0d8b7f762abdd8606fcaec48247fa (diff)
downloadATCD-43dc093aa3eb828f120a9cc6291b7948fb8cab5f.tar.gz
Sun Aug 9 19:56:43 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS_NS_string.cpp (strerror): Added const cast to resolve compile warning with CEGCC
Diffstat (limited to 'ACE/ace/OS_NS_string.cpp')
-rw-r--r--ACE/ace/OS_NS_string.cpp2
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 */