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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user