summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-24 16:17:32 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-24 16:17:32 +0000
commit829badfd5b03ddbb37474a5359bb012090647080 (patch)
treeb0ca70db42cb479920130fb2fd21690f1b594009
parent50b875a79e1bcddd1fb5ba864e844f6a64ec2df8 (diff)
downloadATCD-829badfd5b03ddbb37474a5359bb012090647080.tar.gz
ChangeLogTag: Fri Sep 24 11:13:30 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog9
-rw-r--r--TAO/tests/Sequence_Unit_Tests/allocation_traits.hpp2
2 files changed, 10 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 11a3a9ac359..ecad11894d9 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,12 @@
+Fri Sep 24 11:13:30 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * tests/Sequence_Unit_Tests/allocation_traits.hpp:
+
+ Changed line with reinterpret_cast<> in
+ unbounded_reference_allocation_traits::allocbuf() to be
+ more palatable for MSVC 7.1. Thanks to Carlos O'Ryan
+ <coryan@atdesk.com> for the replacement line.
+
Fri Sep 24 10:08:50 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
* orbsvcs/orbsvcs/AV/RTP.cpp:
diff --git a/TAO/tests/Sequence_Unit_Tests/allocation_traits.hpp b/TAO/tests/Sequence_Unit_Tests/allocation_traits.hpp
index 29adf7b9cc1..8682897b395 100644
--- a/TAO/tests/Sequence_Unit_Tests/allocation_traits.hpp
+++ b/TAO/tests/Sequence_Unit_Tests/allocation_traits.hpp
@@ -86,7 +86,7 @@ struct unbounded_reference_allocation_traits
{
value_type * buffer =
base_allocation_traits::allocbuf(maximum + 1);
- reinterpret_cast<value_type*>(buffer[0]) = buffer + maximum + 1;
+ reinterpret_cast<value_type**>(buffer)[0] = buffer + maximum + 1;
reference_traits::zero_range(buffer + 1, buffer + maximum + 1);