From 7c270c8b49d9cacccbcc8e806e0f3a3d40ba76a4 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Mon, 16 Jan 2023 21:00:51 -0800 Subject: [PATCH] Adjust CURRENTFX definition to avoid alignment warning (with cast through (void *)) because the stack is appropriately aligned. --- inc/lispemul.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/lispemul.h b/inc/lispemul.h index 36cf3fe..dd05704 100644 --- a/inc/lispemul.h +++ b/inc/lispemul.h @@ -318,7 +318,7 @@ typedef struct lbits { extern struct state MachineState; -#define CURRENTFX ((struct frameex1 *)(((DLword *)PVar) - FRAMESIZE)) +#define CURRENTFX ((struct frameex1 *)(void *)(((DLword *)PVar) - FRAMESIZE)) #define IVar (MachineState.ivar) #define PVar (MachineState.pvar) #define CurrentStackPTR (MachineState.csp)