summaryrefslogtreecommitdiff
path: root/TAO/tao/Exception.cpp
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-04-30 12:31:02 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-04-30 12:31:02 +0000
commit6a49e64da69c48aa6ce7c306a5ae84f319e7eea0 (patch)
tree0918899fe823d8adb5a86c5db91f4bf8e43a1086 /TAO/tao/Exception.cpp
parentf23636bb09a053f540647572b790d7c7ceae437d (diff)
downloadATCD-6a49e64da69c48aa6ce7c306a5ae84f319e7eea0.tar.gz
ChangeLogTag: Wed Apr 30 07:26:37 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/Exception.cpp')
-rw-r--r--TAO/tao/Exception.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp
index 8ef7aad212f..25ddb7bfe30 100644
--- a/TAO/tao/Exception.cpp
+++ b/TAO/tao/Exception.cpp
@@ -971,7 +971,8 @@ TAO_Exceptions::make_standard_typecode (CORBA::TypeCode_ptr &tcp,
const char suffix[] = ":1.0";
char * full_id =
CORBA::string_alloc (sizeof prefix
- + ACE_OS_String::strlen (name)
+ + ACE_static_cast (CORBA::ULong,
+ ACE_OS_String::strlen (name))
+ sizeof suffix);
CORBA::String_var safe_full_id = full_id;