X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_convert.c;h=c88747f09e0de9008adf99e2316b1351a605f726;hb=2667af48dccbcb9e25709dea50451dd58d40aeae;hp=15c2906686f905609d54be9b670ffd88cb26f08c;hpb=13f84dd50ca5754391dbd3296a5c7425f9363600;p=mmh diff --git a/sbr/m_convert.c b/sbr/m_convert.c index 15c2906..c88747f 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++;