summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_dirent.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_dirent.inl')
-rw-r--r--ACE/ace/OS_NS_dirent.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/OS_NS_dirent.inl b/ACE/ace/OS_NS_dirent.inl
index 4de83b6d946..b32b98ac87a 100644
--- a/ACE/ace/OS_NS_dirent.inl
+++ b/ACE/ace/OS_NS_dirent.inl
@@ -143,16 +143,16 @@ alphasort (const void *a, const void *b)
{
#if defined (ACE_LACKS_ALPHASORT)
return ACE_OS::strcmp ((*static_cast<const struct ACE_DIRENT * const *>(a))->d_name,
- (*static_cast<const struct ACE_DIRENT * const *>(b))->d_name);
+ (*static_cast<const struct ACE_DIRENT * const *>(b))->d_name);
#else
# if defined (ACE_SCANDIR_CMP_USES_VOIDPTR)
return ::alphasort (const_cast<void *>(a),
- const_cast<void *>(b));
+ const_cast<void *>(b));
# elif defined (ACE_SCANDIR_CMP_USES_CONST_VOIDPTR)
return ::alphasort (a, b);
# else
return ::alphasort ((const struct ACE_DIRENT **)a,
- (const struct ACE_DIRENT **)b);
+ (const struct ACE_DIRENT **)b);
# endif
#endif
}