summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
diff options
context:
space:
mode:
authorClifford Jansen <cliffjansen@apache.org>2012-06-17 23:57:36 +0000
committerClifford Jansen <cliffjansen@apache.org>2012-06-17 23:57:36 +0000
commit74b1983489053b82ea890e7364a84218820c3d89 (patch)
treede9007cfe5ef552aa03e35d38456726ed5ea331c /cpp/src/qpid/client
parenteae25587eebc56f6082a562a32a1277c2ccc23ea (diff)
downloadqpid-python-74b1983489053b82ea890e7364a84218820c3d89.tar.gz
QPID-4071: basic porting changes for solaris native compiler
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1351185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client')
-rw-r--r--cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
index 2ea4dc0c61..aaebec0720 100644
--- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
+++ b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
@@ -78,7 +78,7 @@ bool expired(const sys::AbsTime& start, double timeout)
if (timeout == 0) return true;
if (timeout == FOREVER) return false;
sys::Duration used(start, sys::now());
- sys::Duration allowed(int64_t(timeout*sys::TIME_SEC));
+ sys::Duration allowed((int64_t)(timeout*sys::TIME_SEC));
return allowed < used;
}