summaryrefslogtreecommitdiff
path: root/ace/Local_Name_Space_T.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-28 15:26:45 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-28 15:26:45 +0000
commit7e1a8e39863c60dd15d97a244f4e43c24c829e5f (patch)
tree885d5cea82b8255d9fab8cfffb10a6c3237105ee /ace/Local_Name_Space_T.cpp
parenta57162581a0fa03c8659100991fd7975c04de565 (diff)
downloadATCD-7e1a8e39863c60dd15d97a244f4e43c24c829e5f.tar.gz
changed "sizeof TCHAR" to "sizeof (TCHAR)" because g++ and Sun C++ (properly) choked on it
Diffstat (limited to 'ace/Local_Name_Space_T.cpp')
-rw-r--r--ace/Local_Name_Space_T.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Local_Name_Space_T.cpp b/ace/Local_Name_Space_T.cpp
index 6f314beb30e..2c9b2fea116 100644
--- a/ace/Local_Name_Space_T.cpp
+++ b/ace/Local_Name_Space_T.cpp
@@ -387,7 +387,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, LOCK>::create_manager_i (void)
LPCTSTR postfix = database;
size_t length = 0;
- length = sizeof lock_name_for_local_name_space / sizeof TCHAR;
+ length = sizeof lock_name_for_local_name_space / sizeof (TCHAR);
ACE_OS::strncpy (lock_name_for_local_name_space,
__TEXT ("name_space_"),
length);
@@ -395,7 +395,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, LOCK>::create_manager_i (void)
postfix,
length - ACE_OS::strlen (__TEXT ("name_space_")));
- length = sizeof lock_name_for_backing_store / sizeof TCHAR;
+ length = sizeof lock_name_for_backing_store / sizeof (TCHAR);
ACE_OS::strncpy (lock_name_for_local_backing_store,
__TEXT ("backing_store_"),
length);