summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/ACE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index 768d1af65e5..b3373981599 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -598,7 +598,7 @@ ACE::ldfind (const ASYS_TCHAR filename[],
#if !defined (ACE_HAS_MOSTLY_UNICODE_APIS)
got_suffix ? 0 : ACE_OS::strlen (dll_suffix) >= (sizeof searchfilename / sizeof (char)))
#else
- got_suffix ? 0 : ACE_OS::strlen (dll_suffix) >= (sizeof searchfilename / sizeof (char)))
+ got_suffix ? 0 : ACE_OS::strlen (dll_suffix) >= (sizeof searchfilename / sizeof (ASYS_TCHAR)))
#endif /* ACE_HAS_MOSTLY_UNICODE_APIS */
{
errno = ENOMEM;
@@ -1689,7 +1689,7 @@ ACE::set_handle_limit (int new_limit)
if (new_limit == -1)
new_limit = max_limit;
-
+
if (new_limit < 0)
{
errno = EINVAL;