From: Michael Jarvis Date: Fri, 2 Jun 2017 03:45:31 +0000 (-0500) Subject: Cast size_t to long to silence warning X-Git-Tag: 0.90~37 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=092f4787902cf26da6745bc7ef303b5fd783773c Cast size_t to long to silence warning --- diff --git a/misc.c b/misc.c index 93dce3b..c16a300 100644 --- a/misc.c +++ b/misc.c @@ -898,7 +898,7 @@ long I, VAL; IGNORE(fputs(rawbuf, stdout)); strcpy(INLINE+1, rawbuf); LNLENG=0; - for (I=1; I<=sizeof(INLINE) && INLINE[I]!=0; I++) { + for (I=1; I<=(long)sizeof(INLINE) && INLINE[I]!=0; I++) { VAL=INLINE[I]+1; INLINE[I]=MAP1[VAL]; if(INLINE[I] != 0)LNLENG=I;