diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-07 22:14:11 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-07 22:14:11 +0000 |
commit | 6bd7bd55df12c9701c077aa5f80211fb0076347f (patch) | |
tree | 708370ec5970a7b0d120bf732751eace8c8ea7a0 | |
parent | 2729499b277e7067951bafd5abb3817bd4262b82 (diff) | |
download | ATCD-6bd7bd55df12c9701c077aa5f80211fb0076347f.tar.gz |
.
-rw-r--r-- | ChangeLog-99b | 8 | ||||
-rw-r--r-- | examples/Naming/test_multiple_contexts.cpp | 8 | ||||
-rw-r--r-- | examples/Naming/test_writers.cpp | 6 |
3 files changed, 17 insertions, 5 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index 19552dd75d3..3371a9fbbd2 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,3 +1,11 @@ +Mon Jun 7 17:09:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * examples/Naming/test_multiple_contexts.cpp (main): Added a cast + to resolve const problems. Thanks to David for reporting this. + + * examples/Naming/test_writers.cpp (main): Fixed a typo. Thanks + to David for reporting this. + Mon Jun 7 14:21:48 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu> * tests/DLL_Test.cpp (main): ANSI C++ spec doesnt allow void * to diff --git a/examples/Naming/test_multiple_contexts.cpp b/examples/Naming/test_multiple_contexts.cpp index 8665343a7e0..307260c250b 100644 --- a/examples/Naming/test_multiple_contexts.cpp +++ b/examples/Naming/test_multiple_contexts.cpp @@ -66,10 +66,14 @@ int main (int, char *[]) if (i != 0) return -1; - name_options1->parse_args (n_argc, n_argv); + name_options1->parse_args (n_argc, + (char **) n_argv); + i = ns_ptr1->open (ACE_Naming_Context::NODE_LOCAL); + ACE_DEBUG ((LM_DEBUG, - "(%P) 1 opened with %d\n", i)); + "(%P) 1 opened with %d\n", + i)); if (i != 0) return -1; diff --git a/examples/Naming/test_writers.cpp b/examples/Naming/test_writers.cpp index fae9b918160..460667815c8 100644 --- a/examples/Naming/test_writers.cpp +++ b/examples/Naming/test_writers.cpp @@ -52,9 +52,9 @@ int main (int, char *[]) ACE_OS::sprintf (val, "Val%05d", l); - i = ns.bind (key, - val, - type); + i = ns_ptr->bind (key, + val, + type); ACE_DEBUG ((LM_DEBUG, "%d: bind of %s: %d\n", ACE_OS::getpid (), |