diff options
author | Steve Huston <shuston@riverace.com> | 2002-08-21 21:55:26 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-08-21 21:55:26 +0000 |
commit | 7424bd46f35f7d04becffebc506c9d2721bb58a2 (patch) | |
tree | 257e1e729648d3f635a6d0b0ba9d67f252004161 /examples/C++NPv2 | |
parent | 79ee8bc1d10c81397b2c01b710680d3c7afa3b1d (diff) | |
download | ATCD-7424bd46f35f7d04becffebc506c9d2721bb58a2.tar.gz |
ChangeLogTag:Wed Aug 21 17:48:29 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples/C++NPv2')
-rw-r--r-- | examples/C++NPv2/display_logfile.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/C++NPv2/display_logfile.cpp b/examples/C++NPv2/display_logfile.cpp index 1bf83fc08bd..1636fe86f99 100644 --- a/examples/C++NPv2/display_logfile.cpp +++ b/examples/C++NPv2/display_logfile.cpp @@ -140,23 +140,23 @@ public: 0); head->cont (temp); - // Demarshal the type + // Extract the type ACE_CDR::Long *lp; - lp = ACE_static_cast + lp = ACE_reinterpret_cast (ACE_CDR::Long*, temp->wr_ptr ()); cdr >> *lp; temp->wr_ptr (sizeof (ACE_CDR::Long)); temp = temp->cont (); - // Demarshal the pid - lp = ACE_static_cast + // Extract the pid + lp = ACE_reinterpret_cast (ACE_CDR::Long*, temp->wr_ptr ()); cdr >> *lp; temp->wr_ptr (sizeof (ACE_CDR::Long)); temp = temp->cont (); - // Demarshal the time (2 Longs) - lp = ACE_static_cast + // Extract the timestamp (2 Longs) + lp = ACE_reinterpret_cast (ACE_CDR::Long*, temp->wr_ptr ()); cdr >> *lp; ++lp; cdr >> *lp; temp->wr_ptr (2 * sizeof (ACE_CDR::Long)); |