Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / sbr / m_convert.c
index 734bdb5..85d4e58 100644 (file)
@@ -272,7 +272,7 @@ m_conv(struct msgs *mp, char *str, int call)
                        return BADNUM;
        }
 
-       for (bp = buf; isalpha(*cp) && (bp - buf < sizeof(buf) - 1); ) {
+       for (bp = buf; isalpha(*cp) && (bp - buf < (int)sizeof(buf) - 1); ) {
                *bp++ = *cp++;
        }
        *bp++ = '\0';