diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-07 03:28:13 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-07 03:28:13 +0000 |
commit | 75f3a6f7b1b3dcdf9112f484788d4423e70599cf (patch) | |
tree | 6d1e71995a68b9df217c0c66ed1c740499c30b25 | |
parent | ef79e8111465ebb642ff29098e720f29c7e26c09 (diff) | |
download | ATCD-75f3a6f7b1b3dcdf9112f484788d4423e70599cf.tar.gz |
ChangeLogTag:Thu Jan 06 21:26:17 2000 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 9 | ||||
-rw-r--r-- | 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 <nanbor@cs.wustl.edu> + + * 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 <parsons@cs.wustl.edu> * tao/Any.cpp: @@ -23,7 +30,7 @@ Tue Jan 4 11:46:42 2000 Jeff Parsons <parsons@cs.wustl.edu> * 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; |