diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-28 15:15:28 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-28 15:15:28 +0000 |
commit | 48993dde86e025aa4c0ac9a7278101308f67bb50 (patch) | |
tree | d4f4dbda590a92b7d8bf1a4a099f384a34113a02 | |
parent | ff780b5ed926be389d9efdb5b6bc4226075f71b6 (diff) | |
download | ATCD-48993dde86e025aa4c0ac9a7278101308f67bb50.tar.gz |
changed "sizeof char" to "sizeof (char)" because g++ (properly) choked on it
-rw-r--r-- | ace/ACE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index 6f1b3405e57..6c218e22a74 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -155,7 +155,7 @@ ACE::ldfind (const char filename[], char searchfilename[MAXPATHLEN]; // Create a copy of filename to work with. - if (ACE_OS::strlen (filename) + 1 > (sizeof tempcopy / sizeof char)) + if (ACE_OS::strlen (filename) + 1 > (sizeof tempcopy / sizeof (char))) { errno = ENOMEM; return -1; @@ -207,7 +207,7 @@ ACE::ldfind (const char filename[], // Make sure we've got enough space in searchfilename. if (ACE_OS::strlen (searchfilename) + ACE_OS::strlen (ACE_DLL_PREFIX) + - got_suffix ? 0 : ACE_OS::strlen (ACE_DLL_SUFFIX) >= (sizeof searchfilename / sizeof char)) + got_suffix ? 0 : ACE_OS::strlen (ACE_DLL_SUFFIX) >= (sizeof searchfilename / sizeof (char))) { errno = ENOMEM; return -1; |