stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r521948 - /incubator/stdcxx/trunk/tests/iostream/27.stringbuf.virtuals.cpp
Date Sat, 24 Mar 2007 00:01:29 GMT
Author: sebor
Date: Fri Mar 23 17:01:29 2007
New Revision: 521948

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

	* 27.stringbuf.virtuals.cpp (test_virtual): Introduced a cast to silence
	gcc warning: comparison between signed and unsigned integer expressions.

Modified:
    incubator/stdcxx/trunk/tests/iostream/27.stringbuf.virtuals.cpp

Modified: incubator/stdcxx/trunk/tests/iostream/27.stringbuf.virtuals.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/iostream/27.stringbuf.virtuals.cpp?view=diff&rev=521948&r1=521947&r2=521948
==============================================================================
--- incubator/stdcxx/trunk/tests/iostream/27.stringbuf.virtuals.cpp (original)
+++ incubator/stdcxx/trunk/tests/iostream/27.stringbuf.virtuals.cpp Fri Mar 23 17:01:29 2007
@@ -315,7 +315,7 @@
 
     const int_type not_eof = Traits::not_eof (arg_int);
 
-    int success = ret == (NOT_EOF == ret_expect ? not_eof : ret_expect);
+    int success = ret == (NOT_EOF == ret_expect ? int (not_eof) : ret_expect);
 
     // verify the expected return value
     if (pfid->vfun_ == VFun::xsputn || is_seek) {



Mime
View raw message