diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/ForwardRequest/Client_ORBInitializer.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/ForwardRequest/Client_ORBInitializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tests/Portable_Interceptors/ForwardRequest/Client_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/ForwardRequest/Client_ORBInitializer.cpp index 4845a04bed7..6db30b8116c 100644 --- a/TAO/tests/Portable_Interceptors/ForwardRequest/Client_ORBInitializer.cpp +++ b/TAO/tests/Portable_Interceptors/ForwardRequest/Client_ORBInitializer.cpp @@ -39,7 +39,7 @@ Client_ORBInitializer::post_init ( // Extract the last forward reference from the argument list. CORBA::ULong args_len = args->length (); for (CORBA::ULong i = 0; i < args_len; ++i) - if (ACE_OS::strcmp ("-k", args[i]) == 0 + if (ACE_OS::strcmp ("-k", static_cast<const char*>(args[i])) == 0 && i < (args_len - 1)) forward_str = args[i + 1]; |