Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16FC810907 for ; Sat, 22 Feb 2014 01:01:13 +0000 (UTC) Received: (qmail 48987 invoked by uid 500); 22 Feb 2014 01:01:12 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 48926 invoked by uid 500); 22 Feb 2014 01:01:12 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 48918 invoked by uid 99); 22 Feb 2014 01:01:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Feb 2014 01:01:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Feb 2014 01:01:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 182EC2388A33; Sat, 22 Feb 2014 01:00:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1570775 - /qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp Date: Sat, 22 Feb 2014 01:00:51 -0000 To: commits@qpid.apache.org From: aconway@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140222010051.182EC2388A33@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: aconway Date: Sat Feb 22 01:00:50 2014 New Revision: 1570775 URL: http://svn.apache.org/r1570775 Log: NO-JIRA: Fix compile error on RHEL5 in qpid-ping Modified: qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp Modified: qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp?rev=1570775&r1=1570774&r2=1570775&view=diff ============================================================================== --- qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp (original) +++ qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp Sat Feb 22 01:00:50 2014 @@ -79,7 +79,7 @@ int main(int argc, char** argv) { s.createSender(opts.address).send(Message(opts.message)); if (!opts.quiet) cout << "Sent message." << endl; Message m = s.createReceiver(opts.address). - fetch(Duration(opts.timeout*1000)); + fetch(Duration(uint64_t(opts.timeout*1000))); if (m.getContent() != opts.message) throw qpid::Exception(qpid::Msg() << "Expected " << opts.message << " but received " << m.getContent()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org