mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-03 10:05:22 +00:00
Adjust CURRENTFX definition to avoid alignment warning (with cast through (void *)) because the stack is appropriately aligned.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user