1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-02 23:14:57 +03:00

Log stack frame address as an int, this may truncate the address but is better than passing the wrong size parameter

This commit is contained in:
David Kinder 2023-06-15 09:14:19 +01:00
parent f74c35f48e
commit 892e759532

View file

@ -413,7 +413,7 @@ void Frames::emit_new_local_value(kind *K) {
void Frames::log(stack_frame *frame) {
if (frame == NULL) { LOG("<null stack frame>\n"); return; }
LOG("Stack frame at %08x: it:%s, dpc:%s\n",
frame,
(int)frame,
(frame->local_variables.it_variable_exists)?"yes":"no",
(frame->determines_past_conditions)?"yes":"no");
local_variable *lvar;