summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2014-09-03 22:39:37 +0000
committerAlan Conway <aconway@apache.org>2014-09-03 22:39:37 +0000
commitfee76541c2320931ef84a402af2f2a175cc8880d (patch)
treed0205ca3be6837f6bf6ceb870b3915c83ffdf387 /cpp/src
parent38396e36d7ac707f2c5e1eca4cea288be97d6482 (diff)
downloadqpid-python-fee76541c2320931ef84a402af2f2a175cc8880d.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/qpid@1622372 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/qpid-txtest2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/qpid-txtest2.cpp b/cpp/src/tests/qpid-txtest2.cpp
index 5e1dd492da..2393ec2396 100644
--- a/cpp/src/tests/qpid-txtest2.cpp
+++ b/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;