mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-27 04:12:51 +00:00
Remove trailing semicolon from LispNumToCInt macro definition so it can be used in value context.
Add missing htonl/ntohl and htons/ntohs around IP address and port manipulation. modified: inc/locfile.h modified: src/inet.c
This commit is contained in:
@@ -195,7 +195,7 @@ extern DLword *Lisp_world; /* To access LispSysout area */
|
||||
|
||||
#define LispNumToCInt(Lisp) \
|
||||
( ((Lisp & SEGMASK) == S_POSITIVE) ? \
|
||||
(Lisp & 0xFFFF) : (*((int *)(Addr68k_from_LADDR(Lisp)))) );
|
||||
(Lisp & 0xFFFF) : (*((int *)(Addr68k_from_LADDR(Lisp)))) )
|
||||
|
||||
#define UPLOWDIFF 0x20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user