stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r630244 - /stdcxx/trunk/src/time_put.cpp
Date Fri, 22 Feb 2008 16:34:53 GMT
Author: faridz
Date: Fri Feb 22 08:34:52 2008
New Revision: 630244

URL: http://svn.apache.org/viewvc?rev=630244&view=rev
Log:
2008-02-22  Farid Zaripov  <farid_zaripov@epam.com>

	* src/time_put.cpp (__rw_get_timepunct): Remove const qualifier to disable
	eccp warning #191-D: "type qualifier is meaningless on cast type".

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=630244&r1=630243&r2=630244&view=diff
==============================================================================
--- stdcxx/trunk/src/time_put.cpp (original)
+++ stdcxx/trunk/src/time_put.cpp Fri Feb 22 08:34:52 2008
@@ -612,7 +612,7 @@
             // reallocate, again using operator new to avoid mismatch
             // with facet destructor
             char* const tmp = 
-                _RWSTD_STATIC_CAST(char* const, ::operator new (tmpsize));
+                _RWSTD_STATIC_CAST(char*, ::operator new (tmpsize));
             memcpy (tmp, pun, sizeof *pun + off);
 
             ::operator delete (_RWSTD_REINTERPRET_CAST (char*, pun));



Mime
View raw message