Changed sReplyPortInUse type from long to int32, so it be used with
atomic_add() also on 64 bit architectures. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42174 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
aa08883069
commit
54cf3a72ba
@ -376,7 +376,7 @@ class BMessage {
|
||||
|
||||
enum { sNumReplyPorts = 3 };
|
||||
static port_id sReplyPorts[sNumReplyPorts];
|
||||
static long sReplyPortInUse[sNumReplyPorts];
|
||||
static int32 sReplyPortInUse[sNumReplyPorts];
|
||||
static int32 sGetCachedReplyPort();
|
||||
|
||||
static BBlockCache* sMsgCache;
|
||||
|
@ -78,7 +78,7 @@ extern "C" {
|
||||
|
||||
BBlockCache *BMessage::sMsgCache = NULL;
|
||||
port_id BMessage::sReplyPorts[sNumReplyPorts];
|
||||
long BMessage::sReplyPortInUse[sNumReplyPorts];
|
||||
int32 BMessage::sReplyPortInUse[sNumReplyPorts];
|
||||
|
||||
|
||||
template<typename Type>
|
||||
|
Loading…
x
Reference in New Issue
Block a user