stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r630283 - /stdcxx/trunk/src/time_put.cpp
Date Fri, 22 Feb 2008 18:37:01 GMT
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  <sebor@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);



Mime
View raw message