summaryrefslogtreecommitdiff
path: root/examples/C++NPv2
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-08-21 21:55:26 +0000
committerSteve Huston <shuston@riverace.com>2002-08-21 21:55:26 +0000
commitb88c9d452ee9051f6c9d2639b8f772ddcdf53284 (patch)
tree257e1e729648d3f635a6d0b0ba9d67f252004161 /examples/C++NPv2
parent6a98bd0e183dcdee00fc0f16cb2d1ca2fafbf85e (diff)
downloadATCD-b88c9d452ee9051f6c9d2639b8f772ddcdf53284.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.cpp12
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));