From cfde776724c2f214b962dc8077ddca8305ddd705 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 17 Apr 2008 21:46:22 +0000 Subject: Patch for improved compatibility with gcc 3.4 and boost 1.33 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649294 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/SessionState.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/src/qpid/framing/SessionState.cpp') diff --git a/cpp/src/qpid/framing/SessionState.cpp b/cpp/src/qpid/framing/SessionState.cpp index f9019b036c..b72bd15803 100644 --- a/cpp/src/qpid/framing/SessionState.cpp +++ b/cpp/src/qpid/framing/SessionState.cpp @@ -35,8 +35,8 @@ namespace framing { SessionState::SessionState(uint32_t ack, bool enableReplay, const Uuid& uuid) : state(ATTACHED), id(uuid), - lastReceived(-1), - lastSent(-1), + lastReceived(u_int32_t(-1)), + lastSent(u_int32_t(-1)), ackInterval(ack), sendAckAt(lastReceived+ackInterval), solicitAckAt(lastSent+ackInterval), @@ -47,8 +47,8 @@ SessionState::SessionState(uint32_t ack, bool enableReplay, const Uuid& uuid) : SessionState::SessionState(const Uuid& uuid) : state(ATTACHED), id(uuid), - lastReceived(-1), - lastSent(-1), + lastReceived(u_int32_t(-1)), + lastSent(u_int32_t(-1)), ackInterval(0), sendAckAt(0), solicitAckAt(0), -- cgit v1.2.1