From 75f3a6f7b1b3dcdf9112f484788d4423e70599cf Mon Sep 17 00:00:00 2001 From: nanbor Date: Fri, 7 Jan 2000 03:28:13 +0000 Subject: ChangeLogTag:Thu Jan 06 21:26:17 2000 Nanbor Wang --- TAO/ChangeLogs/ChangeLog-02a | 9 ++++++++- TAO/tests/Param_Test/param_test_i.cpp | 12 ++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 7feee4c1916..880c5e9bd29 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Thu Jan 06 21:26:17 2000 Nanbor Wang + + * tests/Param_Test/param_test_i.cpp + (test_unbounded_struct_sequence): Changed the explicit cast to + [(unsigned int) 0] to unsigned literal [0u] to avoid MSVC fro + whining. + Wed Jan 5 15:54:38 2000 Jeff Parsons * tao/Any.cpp: @@ -23,7 +30,7 @@ Tue Jan 4 11:46:42 2000 Jeff Parsons * tao/Any.h: *tao/Any.cpp: Added >>= operators to extract to const CORBA::Any *&, - as well as to const char *& and const wchar *&, as outlined in + as well as to const char *& and const wchar *&, as outlined in the CORBA 2.3.1 C++ mapping. * TAO_IDL/be/be_visitor_exception/any_op_ch.cpp: diff --git a/TAO/tests/Param_Test/param_test_i.cpp b/TAO/tests/Param_Test/param_test_i.cpp index 2e81c0a3dc4..7a7d06ec53b 100644 --- a/TAO/tests/Param_Test/param_test_i.cpp +++ b/TAO/tests/Param_Test/param_test_i.cpp @@ -429,13 +429,13 @@ Param_Test_i::test_unbounded_struct_sequence (const Param_Test::PathSpec & s1, Param_Test::PathSpec_var rPathSpec = new Param_Test::PathSpec; rPathSpec->length(2); - rPathSpec[(unsigned long)0].name.id = CORBA::string_dup("staff"); - rPathSpec[(unsigned long)0].name.kind = CORBA::string_dup("staff"); - rPathSpec[(unsigned long)0].process = 1; + rPathSpec[0u].name.id = CORBA::string_dup("staff"); + rPathSpec[0u].name.kind = CORBA::string_dup("staff"); + rPathSpec[0u].process = 1; - rPathSpec[(unsigned long)1].name.id = CORBA::string_dup("john"); - rPathSpec[(unsigned long)1].name.kind = CORBA::string_dup("john"); - rPathSpec[(unsigned long)1].process = 1; + rPathSpec[1u].name.id = CORBA::string_dup("john"); + rPathSpec[1u].name.kind = CORBA::string_dup("john"); + rPathSpec[1u].process = 1; s2 = s1; *out = s1; -- cgit v1.2.1