summaryrefslogtreecommitdiff
path: root/src/mark_stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mark_stack.h')
-rw-r--r--src/mark_stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mark_stack.h b/src/mark_stack.h
index 73a77b4258..dada4a551a 100644
--- a/src/mark_stack.h
+++ b/src/mark_stack.h
@@ -48,7 +48,7 @@ class MarkStack {
DCHECK(obj != NULL);
DCHECK_NE(ptr_, limit_);
DCHECK_EQ(sizeof(ptr_), sizeof(int32_t));
- int32_t* ptr = reinterpret_cast<int32_t*>(&ptr_);
+ int32_t* ptr = reinterpret_cast<int32_t*>(&ptr_);
*reinterpret_cast<const Object**>(android_atomic_add(sizeof(*ptr_), ptr)) = obj;
}