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:
Ingo Weinhold 2011-06-14 11:25:37 +00:00
parent aa08883069
commit 54cf3a72ba
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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>