diff options
| author | Alan Conway <aconway@apache.org> | 2014-09-03 22:39:37 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2014-09-03 22:39:37 +0000 |
| commit | 5307ccd29aff70278e07cd06650b766eb4eca780 (patch) | |
| tree | 3736b3b227a77a79ef4fae9f07101137d0b13b86 /qpid/cpp/src | |
| parent | b484a1ffbfe68883c8a5ca232322b9616ecf151c (diff) | |
| download | qpid-python-5307ccd29aff70278e07cd06650b766eb4eca780.tar.gz | |
NO-JIRA: Explictily convert double to uint64_t in qpid-txtest2 to avoid warnings on some compilers.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622372 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/tests/qpid-txtest2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/qpid-txtest2.cpp b/qpid/cpp/src/tests/qpid-txtest2.cpp index 5e1dd492da..2393ec2396 100644 --- a/qpid/cpp/src/tests/qpid-txtest2.cpp +++ b/qpid/cpp/src/tests/qpid-txtest2.cpp @@ -201,7 +201,7 @@ struct Transfer : public TransactionalClient, public Runnable id << source << ">" << target << ":" << t+1; try { for (uint m = 0; m < opts.msgsPerTx; m++) { - Message msg = receiver.fetch(Duration::SECOND*opts.fetchTimeout); + Message msg = receiver.fetch(Duration::SECOND*uint64_t(opts.fetchTimeout)); if (msg.getContentSize() != opts.size) { std::ostringstream oss; oss << "Message size incorrect: size=" << msg.getContentSize() << "; expected " << opts.size; |
