You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2008/02/22 19:37:01 UTC
svn commit: r630283 - /stdcxx/trunk/src/time_put.cpp
Author: sebor
Date: Fri Feb 22 10:37:00 2008
New Revision: 630283
URL: http://svn.apache.org/viewvc?rev=630283&view=rev
Log:
2008-02-22 Martin Sebor <se...@roguewave.com>
* time_put.cpp (__rw_get_timepunct): Removed unnecessary
reinterpret_cast in a call to operator delete().
Modified:
stdcxx/trunk/src/time_put.cpp
Modified: stdcxx/trunk/src/time_put.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/time_put.cpp?rev=630283&r1=630282&r2=630283&view=diff
==============================================================================
--- stdcxx/trunk/src/time_put.cpp (original)
+++ stdcxx/trunk/src/time_put.cpp Fri Feb 22 10:37:00 2008
@@ -22,7 +22,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*
- * Copyright 2001-2006 Rogue Wave Software.
+ * Copyright 2001-2008 Rogue Wave Software, Inc.
*
**************************************************************************/
@@ -615,7 +615,7 @@
_RWSTD_STATIC_CAST(char*, ::operator new (tmpsize));
memcpy (tmp, pun, sizeof *pun + off);
- ::operator delete (_RWSTD_REINTERPRET_CAST (char*, pun));
+ ::operator delete (pun);
pun = _RWSTD_REINTERPRET_CAST (__rw_time_t*, tmp);
pmem = _RWSTD_REINTERPRET_CAST (_RWSTD_UINT32_T*, pun);