1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-03 01:57:54 +00:00

Add (LispPTR) cast to VAG2 macro as this would otherwise produce a signed integer

This commit is contained in:
Nick Briggs
2023-01-08 23:18:39 -08:00
parent ddc09e09ba
commit d95b82ac45

View File

@@ -35,7 +35,7 @@
#define HILOC(ptr) (LRSH(((unsigned int)(ptr) & SEGMASK),16))
#define LOLOC(ptr) ((unsigned int)(ptr) & 0x0ffff)
#define VAG2(hi,lo) (LLSH((hi),16) | (lo))
#define VAG2(hi,lo) (LispPTR)(LLSH((hi),16) | (lo))
/* NOTE: argument off must be WORD offset */