projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to 25581a94c5113eb78b2baf7110408df96efc4418: always set $editalt,
[mmh]
/
sbr
/
m_convert.c
diff --git
a/sbr/m_convert.c
b/sbr/m_convert.c
index
1696190
..
c88747f
100644
(file)
--- a/
sbr/m_convert.c
+++ b/
sbr/m_convert.c
@@
-263,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 == '.')
#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 == '.')
#else
for (bp = buf; ((*cp >= 'a' && *cp <= 'z') || *cp == '.')
- && (bp - buf < sizeof(buf) - 1); )
+ && (bp - buf < (int) sizeof(buf) - 1); )
#endif /* LOCALE */
{
*bp++ = *cp++;
#endif /* LOCALE */
{
*bp++ = *cp++;