Skip to content

Commit 126e100

Browse files
committed
Fix trace of is_function/2
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
1 parent b01852e commit 126e100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libAtomVM/opcodesswitch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5420,7 +5420,7 @@ HOT_FUNC int scheduler_entry_point(GlobalContext *glb)
54205420
DECODE_COMPACT_TERM(arity_term, pc)
54215421

54225422
#ifdef IMPL_EXECUTE_LOOP
5423-
TRACE("is_function2/3, label=%i, arg1=%lx, arity=%i\n", label, arg1, arity);
5423+
TRACE("is_function2/3, label=%i, arg1=%lx, arity=%p\n", label, arg1, (void *) arity_term);
54245424

54255425
if (term_is_function(arg1) && term_is_integer(arity_term)) {
54265426
const term *boxed_value = term_to_const_term_ptr(arg1);

0 commit comments

Comments
 (0)