1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 15:18:14 +00:00

Adjust CURRENTFX definition to avoid alignment warning (with cast through (void *)) because the stack is appropriately aligned.

This commit is contained in:
Nick Briggs 2023-01-16 21:00:51 -08:00
parent f7542df4e7
commit 7c270c8b49

View File

@ -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)