summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-15 03:13:52 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-15 03:13:52 +0000
commit98786744f78042b16be962657992bb9e36e6015f (patch)
treec4c97b69cf0665425ac4effcdfeb6984525369ce
parent0c369763cbac58f2e9df6da59f59e8739856098a (diff)
downloadATCD-98786744f78042b16be962657992bb9e36e6015f.tar.gz
ChangeLogTag: Fri Feb 14 21:12:22 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/TAO_IDL/ast/ast_module.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 009936c0325..b87b114c3b4 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Fri Feb 14 21:12:22 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * TAO_IDL/ast/ast_module.cpp:
+
+ Changed a misapplied static_cast to const_cast.
+
Fri Feb 14 18:27:09 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
* TAO_IDL/ast/ast_decl.cpp:
diff --git a/TAO/TAO_IDL/ast/ast_module.cpp b/TAO/TAO_IDL/ast/ast_module.cpp
index 6a84475fdef..d6e4793476f 100644
--- a/TAO/TAO_IDL/ast/ast_module.cpp
+++ b/TAO/TAO_IDL/ast/ast_module.cpp
@@ -175,7 +175,7 @@ AST_Module::fe_add_module (AST_Module *t)
while (ACE_OS::strcmp (t->prefix (), "") == 0 && scope != 0)
{
AST_Decl *parent = ScopeAsDecl (scope);
- t->prefix (ACE_static_cast (char *, parent->prefix ()));
+ t->prefix (ACE_const_cast (char *, parent->prefix ()));
scope = parent->defined_in ();
}