Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 69966 invoked from network); 18 Sep 2007 23:30:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 23:30:27 -0000 Received: (qmail 82998 invoked by uid 500); 18 Sep 2007 23:30:19 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 82988 invoked by uid 500); 18 Sep 2007 23:30:19 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 82977 invoked by uid 99); 18 Sep 2007 23:30:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 16:30:19 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 23:30:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6EF3D1A9832; Tue, 18 Sep 2007 16:30:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r577106 - /incubator/stdcxx/trunk/tests/strings/21.string.cons.cpp Date: Tue, 18 Sep 2007 23:30:06 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070918233006.6EF3D1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 * 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):