Cast size_t to long to silence warning
authorMichael Jarvis <Michael@Jarvis.com>
Fri, 2 Jun 2017 03:45:31 +0000 (22:45 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 2 Jun 2017 12:44:40 +0000 (08:44 -0400)
misc.c

diff --git a/misc.c b/misc.c
index 93dce3b073b51f87dfcd0192b26a0b15fc2f75ad..c16a30092d64c76efd323e89091707df381aaa56 100644 (file)
--- 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;