stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r521945 - /incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp
Date Fri, 23 Mar 2007 23:39:50 GMT
Author: sebor
Date: Fri Mar 23 16:39:49 2007
New Revision: 521945

URL: http://svn.apache.org/viewvc?view=rev&rev=521945
Log:
2007-03-23  Martin Sebor  <sebor@roguewave.com>

	* 22.locale.money.put.cpp (type_test): Silenced gcc warning:
	comparison between signed and unsigned.

Modified:
    incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp

Modified: incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp?view=diff&rev=521945&r1=521944&r2=521945
==============================================================================
--- incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp (original)
+++ incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp Fri Mar 23 16:39:49
2007
@@ -344,7 +344,7 @@
     char valbuf [256] = "";
     const int valbuflen = std::sprintf (valbuf, format, val);
 
-    RW_ASSERT (0 < valbuflen && valbuflen < sizeof valbuf);
+    RW_ASSERT (0 < valbuflen && valbuflen < int (sizeof valbuf));
 
     typedef std::char_traits<charT> Traits;
     typedef std::allocator<charT>   Allocator;



Mime
View raw message