qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1570775 - /qpid/trunk/qpid/cpp/src/tests/qpid-ping.cpp
Date Sat, 22 Feb 2014 01:00:51 GMT
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


Mime
View raw message