From 1e2784256c72e6ccd14be4a6fa86027cbb98fe17 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Mon, 22 Feb 2016 22:08:26 -0700 Subject: [PATCH] microcode/debug.c (verify_compiled): A cast to quiet gcc. --- src/microcode/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microcode/debug.c b/src/microcode/debug.c index 573e68e3d..ca6b9d430 100644 --- a/src/microcode/debug.c +++ b/src/microcode/debug.c @@ -993,7 +993,7 @@ verify_compiled (SCHEME_OBJECT object, unsigned long address) outf_error ("%#lx: Invalid block size\n", address); return (false); } - header_type = OBJECT_TYPE(*block); + header_type = OBJECT_TYPE(*((SCHEME_OBJECT *) block)); if (! (header_type == TC_MANIFEST_VECTOR || header_type == TC_MANIFEST_CLOSURE)) { -- 2.25.1