X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/13f84dd50ca5754391dbd3296a5c7425f9363600..2f5c4e8664a5bb3a20dfb5e93667022fa2e0abac:/sbr/m_convert.c diff --git a/sbr/m_convert.c b/sbr/m_convert.c index 15c29066..c88747f0 100644 --- a/sbr/m_convert.c +++ b/sbr/m_convert.c @@ -2,8 +2,6 @@ /* * m_convert.c -- parse a message range or sequence and set SELECTED * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -265,10 +263,10 @@ m_conv (struct msgs *mp, char *str, int call) #ifdef LOCALE /* doesn't enforce lower case */ for (bp = buf; (isalpha(*cp) || *cp == '.') - && (bp - buf < sizeof(buf) - 1); ) + && (bp - buf < (int) sizeof(buf) - 1); ) #else for (bp = buf; ((*cp >= 'a' && *cp <= 'z') || *cp == '.') - && (bp - buf < sizeof(buf) - 1); ) + && (bp - buf < (int) sizeof(buf) - 1); ) #endif /* LOCALE */ { *bp++ = *cp++;