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 2007/03/24 00:39:50 UTC

svn commit: r521945 - /incubator/stdcxx/trunk/tests/localization/22.locale.money.put.cpp

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  <se...@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;