From 090d7bf2d47ca1d57115d2b248f6d7546ba435cd Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 5 Jan 2025 17:39:24 +0200 Subject: [PATCH] fix cross compilation to windows --- vlib/builtin/builtin_windows.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/builtin/builtin_windows.c.v b/vlib/builtin/builtin_windows.c.v index 2ce1224c666dc1..4f6d46ff79a57f 100644 --- a/vlib/builtin/builtin_windows.c.v +++ b/vlib/builtin/builtin_windows.c.v @@ -112,7 +112,7 @@ fn unhandled_exception_handler(e &ExceptionPointers) int { return 0 } else { - println('Unhandled Exception 0x${e.exception_record.code:X}') + println('Unhandled Exception 0x' + ptr_str(e.exception_record.code)) print_backtrace_skipping_top_frames(5) } }