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 | a1ab84f41182f6199d5c4711d486588d90e65ead (patch) | |
| tree | c09015d1cfeb19bd69f486631ec6bbc794c962eb /cpp/src | |
| parent | 5319995dd5553351d5c6291d0c6ef57d6381eba8 (diff) | |
| download | qpid-python-a1ab84f41182f6199d5c4711d486588d90e65ead.tar.gz | |
NO-JIRA: Fix compile error on RHEL5 in qpid-ping
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1570775 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/tests/qpid-ping.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/qpid-ping.cpp b/cpp/src/tests/qpid-ping.cpp index f9b1ec17f1..c0ad35b51d 100644 --- a/cpp/src/tests/qpid-ping.cpp +++ b/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()); |
