From eae42d1a6d3e812e92da70b7e9aa84eac60b3405 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Wed, 24 Aug 2022 15:37:36 -0700 Subject: [PATCH] Switch from Addr68k_from_LADDR to NativeAligned4FromLAddr in arith.h --- inc/arith.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/arith.h b/inc/arith.h index d538f0d..785f9a2 100644 --- a/inc/arith.h +++ b/inc/arith.h @@ -9,7 +9,7 @@ /* */ /************************************************************************/ -#include "adr68k.h" // for Addr68k_from_LADDR, LADDR_from_68k +#include "adr68k.h" // for NativeAligned4FromLAddr #include "commondefs.h" // for error #include "lispemul.h" // for SEGMASK, ERROR_EXIT #include "lispmap.h" // for S_NEGATIVE, S_POSITIVE @@ -55,9 +55,9 @@ static inline LispPTR GetPosSmallp(unsigned long x) { return (S_POSITIVE | 0); } -#define FIXP_VALUE(dest) *((int *)Addr68k_from_LADDR(dest)) +#define FIXP_VALUE(dest) *((int *)NativeAligned4FromLAddr(dest)) -#define FLOATP_VALUE(dest) *((float *)Addr68k_from_LADDR(dest)) +#define FLOATP_VALUE(dest) *((float *)NativeAligned4FromLAddr(dest)) #define N_GETNUMBER(sour, dest, label) \ do { \