Skip to content

Commit 4866086

Browse files
author
Jean-Charles BERTIN
committed
Fixed jk_get_tagged_pointer_tag() for LSB tagged pointers.
1 parent 07ea08c commit 4866086

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

JSONKit.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2596,7 +2596,7 @@ JK_STATIC_INLINE BOOL jk_is_tagged_pointer(const void *objectPtr)
25962596
#if JK_SUPPORT_MSB_TAGGED_POINTERS
25972597
return(((intptr_t)objectPtr) < 0);
25982598
#else
2599-
return(((uintptr_t)object) & 0x1);
2599+
return(((uintptr_t)objectPtr) & 0x1);
26002600
#endif
26012601
}
26022602

0 commit comments

Comments
 (0)