summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/ub_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/ub_string.cpp')
-rw-r--r--TAO/tests/Param_Test/ub_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tests/Param_Test/ub_string.cpp b/TAO/tests/Param_Test/ub_string.cpp
index 7227810e0ed..411afdcf050 100644
--- a/TAO/tests/Param_Test/ub_string.cpp
+++ b/TAO/tests/Param_Test/ub_string.cpp
@@ -67,7 +67,7 @@ Test_Unbounded_String::dii_req_invoke (CORBA::Request *req,
req->invoke (ACE_TRY_ENV);
ACE_CHECK;
- char *tmp;
+ const char *tmp;
req->return_value () >>= tmp;
this->ret_ = CORBA::string_dup (tmp);