stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r555970 - /incubator/stdcxx/trunk/tests/src/fmt_bits.cpp
Date Fri, 13 Jul 2007 12:31:09 GMT
Author: faridz
Date: Fri Jul 13 05:31:08 2007
New Revision: 555970

URL: http://svn.apache.org/viewvc?view=rev&rev=555970
Log:
2007-07-13 Farid Zaripov <Farid_Zaripov@epam.com>

	* fmt_bits.cpp (_rw_fmtlasterror): Cast pmsg to const char* to avoid MSVC error.

Modified:
    incubator/stdcxx/trunk/tests/src/fmt_bits.cpp

Modified: incubator/stdcxx/trunk/tests/src/fmt_bits.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/fmt_bits.cpp?view=diff&rev=555970&r1=555969&r2=555970
==============================================================================
--- incubator/stdcxx/trunk/tests/src/fmt_bits.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/fmt_bits.cpp Fri Jul 13 05:31:08 2007
@@ -1026,7 +1026,9 @@
     newspec.width    = 0;
     newspec.fl_pound = 0;
 
-    const int result = _rw_fmtstr (newspec, buf, pmsg, _RWSTD_SIZE_MAX);
+    const int result = _rw_fmtstr (newspec, buf,
+                                   _RWSTD_STATIC_CAST (const char*, pmsg),
+                                   _RWSTD_SIZE_MAX);
 
     LocalFree (pmsg);
 



Mime
View raw message