summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Event.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-09-26 17:11:19 +0000
committerAlan Conway <aconway@apache.org>2008-09-26 17:11:19 +0000
commitb22dd47558cc11572d080ac25808012092dda597 (patch)
tree32c1948cfa796d74bbb8e5d137c1413900311b22 /cpp/src/qpid/cluster/Event.h
parent13214589d918524d7058b673098fea03179290bd (diff)
downloadqpid-python-b22dd47558cc11572d080ac25808012092dda597.tar.gz
Fix build problems on rhel 5.2 and 64-bit encoding bug.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699413 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Event.h')
-rw-r--r--cpp/src/qpid/cluster/Event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Event.h b/cpp/src/qpid/cluster/Event.h
index 12a7a9388a..6d8655392e 100644
--- a/cpp/src/qpid/cluster/Event.h
+++ b/cpp/src/qpid/cluster/Event.h
@@ -43,7 +43,7 @@ namespace cluster {
class Event {
public:
/** Create an event to mcast with a buffer of size bytes. */
- Event(EventType t=DATA, const ConnectionId& c=ConnectionId(), size_t size=0, size_t id=0);
+ Event(EventType t=DATA, const ConnectionId& c=ConnectionId(), size_t size=0, uint32_t id=0);
/** Create an event copied from delivered data. */
static Event delivered(const MemberId& m, void* data, size_t size);
@@ -65,7 +65,7 @@ class Event {
ConnectionId connectionId;
size_t size;
RefCountedBuffer::pointer data;
- size_t id;
+ uint32_t id;
};
std::ostream& operator << (std::ostream&, const Event&);