diff options
| author | Alan Conway <aconway@apache.org> | 2014-02-22 01:00:50 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2014-02-22 01:00:50 +0000 |
| commit | 689bfd6a3f927bf1451d995a2c135bb154f74460 (patch) | |
| tree | 5860644fd1ae5822e3af004542eb0c5afeba5bb7 /qpid/cpp/src | |
| parent | dea648bf1261597529a3eb1b54cc821a634dfccb (diff) | |
| download | qpid-python-689bfd6a3f927bf1451d995a2c135bb154f74460.tar.gz | |
NO-JIRA: Fix compile error on RHEL5 in qpid-ping
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570775 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/tests/qpid-ping.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/qpid-ping.cpp b/qpid/cpp/src/tests/qpid-ping.cpp index f9b1ec17f1..c0ad35b51d 100644 --- a/qpid/cpp/src/tests/qpid-ping.cpp +++ b/qpid/cpp/src/tests/qpid-ping.cpp @@ -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()); |
