mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-02 22:43:33 +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;
|
extern struct state MachineState;
|
||||||
|
|
||||||
#define CURRENTFX ((struct frameex1 *)(((DLword *)PVar) - FRAMESIZE))
|
#define CURRENTFX ((struct frameex1 *)(void *)(((DLword *)PVar) - FRAMESIZE))
|
||||||
#define IVar (MachineState.ivar)
|
#define IVar (MachineState.ivar)
|
||||||
#define PVar (MachineState.pvar)
|
#define PVar (MachineState.pvar)
|
||||||
#define CurrentStackPTR (MachineState.csp)
|
#define CurrentStackPTR (MachineState.csp)
|
||||||
|
|||||||
Reference in New Issue
Block a user