Problem: Compiler warnings for comparing unsigned char with 256 always
being true. (Manuel Ortega)
Solution: Add type cast.
*/
if (wp->w_p_lbr
&& VIM_ISBREAK(c)
- && !VIM_ISBREAK(s[1])
+ && !VIM_ISBREAK((int)s[1])
&& wp->w_p_wrap
# ifdef FEAT_WINDOWS
&& wp->w_width != 0
if (!(c != NUL
&& (VIM_ISBREAK(c)
|| (!VIM_ISBREAK(c)
- && (col2 == col || !VIM_ISBREAK(*ps))))))
+ && (col2 == col || !VIM_ISBREAK((int)*ps))))))
break;
col2 += win_chartabsize(wp, s, col2);
* Found last space before word: check for line break.
*/
if (wp->w_p_lbr && c0 == c
- && VIM_ISBREAK(c) && !VIM_ISBREAK(*ptr))
+ && VIM_ISBREAK(c) && !VIM_ISBREAK((int)*ptr))
{
# ifdef FEAT_MBYTE
int mb_off = has_mbyte ? (*mb_head_off)(line, ptr - 1) : 0;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 454,
/**/
453,
/**/