summaryrefslogtreecommitdiff
path: root/tests/Dirent_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Dirent_Test.cpp')
-rw-r--r--tests/Dirent_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Dirent_Test.cpp b/tests/Dirent_Test.cpp
index 19c6e554b41..d8353bc3bae 100644
--- a/tests/Dirent_Test.cpp
+++ b/tests/Dirent_Test.cpp
@@ -202,7 +202,7 @@ dirent_count (const ACE_TCHAR *dir_path,
#if !defined (ACE_LACKS_STRUCT_DIR) && !defined (__BORLANDC__)
ACE_OS::strncpy (tname,
- ACE_TEXT_CHAR_TO_TCHAR (directory->d_name),
+ ACE_TEXT_TO_TCHAR_IN (directory->d_name),
maxnamlen);
#else
ACE_OS::strncpy (tname, directory->d_name, maxnamlen);