Skip to content

Commit 0b38708

Browse files
nE0sIghTsaghul
authored andcommittedFeb 1, 2025
Fix format error that prevents build with GCC 14.2
Fixes: #872 Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
1 parent 8f671bc commit 0b38708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎quickjs.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -27133,7 +27133,7 @@ static int js_create_module_bytecode_function(JSContext *ctx, JSModuleDef *m)
2713327133
if (!var_ref)
2713427134
goto fail;
2713527135

27136-
module_trace(ctx, "local %d: %p\n", i, var_ref);
27136+
module_trace(ctx, "local %d: %p\n", i, (void *)var_ref);
2713727137

2713827138
var_refs[i] = var_ref;
2713927139
}
@@ -27344,7 +27344,7 @@ static int js_inner_module_linking(JSContext *ctx, JSModuleDef *m,
2734427344
var_ref->header.ref_count++;
2734527345
var_refs[mi->var_idx] = var_ref;
2734627346

27347-
module_trace(ctx, "local export (var_ref=%p)\n", var_ref);
27347+
module_trace(ctx, "local export (var_ref=%p)\n", (void *)var_ref);
2734827348
}
2734927349
}
2735027350
}

0 commit comments

Comments
 (0)