Fix incorrect type.
This commit is contained in:
parent
58a2847a12
commit
1fd93573e6
@ -41,7 +41,7 @@ BReferenceable::~BReferenceable()
|
||||
// imply the object was allocated/destroyed on the stack
|
||||
// without any references being acquired or released.
|
||||
char test;
|
||||
size_t testOffset = (addr_t)this - (addr_t)&test;
|
||||
ssize_t testOffset = (addr_t)this - (addr_t)&test;
|
||||
if (testOffset > 1024 || -testOffset > 1024) {
|
||||
// might still be a stack object, check the thread's
|
||||
// stack range to be sure.
|
||||
|
Loading…
Reference in New Issue
Block a user