diff options
| author | Alan Conway <aconway@apache.org> | 2012-07-11 16:33:57 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-07-11 16:33:57 +0000 |
| commit | 2931826aee07882a41a2087c866423cc0ac787b5 (patch) | |
| tree | d86e359191cb00526f4d01d80d036ede32d58883 /cpp | |
| parent | ee1cb2d3930736ca76cb28a4dc5b0d74f439dd9d (diff) | |
| download | qpid-python-2931826aee07882a41a2087c866423cc0ac787b5.tar.gz | |
NO-JIRA: Fixed compile error on RHEL5: double doesn't convert to int64_t
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1360282 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/ha/Primary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/ha/Primary.cpp b/cpp/src/qpid/ha/Primary.cpp index feb18528ff..9f0fee84e9 100644 --- a/cpp/src/qpid/ha/Primary.cpp +++ b/cpp/src/qpid/ha/Primary.cpp @@ -99,7 +99,7 @@ Primary::Primary(HaBroker& hb, const BrokerInfo::Set& expect) : if (!backup->isReady()) expectedBackups.insert(backup); } // Set timeout for expected brokers to connect and become ready. - sys::Duration timeout(hb.getSettings().backupTimeout*sys::TIME_SEC); + sys::Duration timeout(int64_t(hb.getSettings().backupTimeout*sys::TIME_SEC)); sys::AbsTime deadline(sys::now(), timeout); timerTask = new ExpectedBackupTimerTask(*this, deadline); hb.getBroker().getTimer().add(timerTask); |
