From 1fd93573e66d64d43d799bb878285be73e6b7e49 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 14 Apr 2013 20:30:34 -0400 Subject: [PATCH] Fix incorrect type. --- src/kits/support/Referenceable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/support/Referenceable.cpp b/src/kits/support/Referenceable.cpp index 58a33a6d17..b67c07d8fd 100644 --- a/src/kits/support/Referenceable.cpp +++ b/src/kits/support/Referenceable.cpp @@ -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.