diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-09-01 09:25:24 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-09-01 09:25:24 +0000 |
commit | 591bd7b86d918e3f875535b124a2627a82d81f01 (patch) | |
tree | 5d5390c7c1eefd531377dceef7e610853f1bdbd1 /ace/OS_NS_unistd.inl | |
parent | b0c2b9c1bd8a0628e24d95a221567ee2d6d051df (diff) | |
download | ATCD-591bd7b86d918e3f875535b124a2627a82d81f01.tar.gz |
ChangeLogTag: Thu Sep 1 08:46:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_unistd.inl')
-rw-r--r-- | ace/OS_NS_unistd.inl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/OS_NS_unistd.inl b/ace/OS_NS_unistd.inl index 0fe449e0cc9..820d28232ac 100644 --- a/ace/OS_NS_unistd.inl +++ b/ace/OS_NS_unistd.inl @@ -920,7 +920,8 @@ ACE_OS::readlink (const char *path, char *buf, size_t bufsiz) # if !defined(ACE_HAS_NONCONST_READLINK) ACE_OSCALL_RETURN (::readlink (path, buf, bufsiz), int, -1); # else - ACE_OSCALL_RETURN (::readlink ((char *)path, buf, bufsiz), int, -1); + ACE_OSCALL_RETURN ( + ::readlink (const_cast <char *>(path), buf, bufsiz), int, -1); # endif # endif /* ACE_LACKS_READLINK */ } |