From 26e67a513ec0aa562d7e0b41d9988215649018db Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Thu, 17 Dec 2020 08:25:27 -0800 Subject: [PATCH] fix warning: result of the left shift is undefined because the left operand is negative (#91) There is no functional difference between the old and new code, but we avoid complaints from code analysis tools such as clang-tidy --- inc/inlineC.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/inc/inlineC.h b/inc/inlineC.h index 9319e5b..5950829 100755 --- a/inc/inlineC.h +++ b/inc/inlineC.h @@ -399,8 +399,8 @@ register char *buff68k; /* pointer to BUFF */ \ } #define BIND {register int byte = Get_BYTE_PCMAC1; \ - register int n1; \ - register int n2; \ + register unsigned n1; \ + register unsigned n2; \ register LispPTR *ppvar; \ register int i; \ n1 = byte >> 4; \ @@ -413,8 +413,7 @@ register char *buff68k; /* pointer to BUFF */ \ *--ppvar = TOPOFSTACK; \ for(i=1; i