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:
parent
f7542df4e7
commit
7c270c8b49
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user