Author: sebor
Date: Tue Sep 18 16:30:05 2007
New Revision: 577106

URL: http://svn.apache.org/viewvc?rev=577106&view=rev
Log:
2007-09-18  Martin Sebor  <[EMAIL PROTECTED]>

        * 21.string.cons.cpp (test_cons): Used argument of the appropriate
        type to silence HP aCC pedantic Warning (suggestion) 887: Type 'int'
        is smaller than type 'unsigned long', unwanted widening in value may
        result.

Modified:
    incubator/stdcxx/trunk/tests/strings/21.string.cons.cpp

Modified: incubator/stdcxx/trunk/tests/strings/21.string.cons.cpp
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/strings/21.string.cons.cpp?rev=577106&r1=577105&r2=577106&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/strings/21.string.cons.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.string.cons.cpp Tue Sep 18 16:30:05 
2007
@@ -699,11 +699,11 @@
             break;
 
         case Cons (size_val):
-            ret_ptr = new String (tcase.size, arg_val);
+            ret_ptr = new String (arg_size, arg_val);
             break;
 
         case Cons (size_val_alloc):
-            ret_ptr = new String (tcase.size, arg_val, arg_alc);
+            ret_ptr = new String (arg_size, arg_val, arg_alc);
             break;
 
         case Cons (range):


Reply via email to