summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ();
}