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 | 6b7b4a24e283aa533e964cfa9db409e4bf18eb83 (patch) | |
| tree | d86e359191cb00526f4d01d80d036ede32d58883 /cpp/src | |
| parent | b031a39e2f06646409835c8a300aa96716b76b12 (diff) | |
| download | qpid-python-6b7b4a24e283aa533e964cfa9db409e4bf18eb83.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/src')
| -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); |
