1
0
forked from aniani/vim

patch 8.1.0744: compiler warnings for signed/unsigned strings

Problem:    Compiler warnings for signed/unsigned strings.
Solution:   A few more type cast fixes.
This commit is contained in:
Bram Moolenaar
2019-01-13 23:51:14 +01:00
parent f9e3e09fdc
commit b1443b480f
5 changed files with 23 additions and 17 deletions

View File

@@ -6965,9 +6965,9 @@ did_set_string_option(
else if (varp == &p_guifontset)
{
if (STRCMP(p_guifontset, "*") == 0)
errmsg = (char_u *)N_("E597: can't select fontset");
errmsg = N_("E597: can't select fontset");
else if (gui.in_use && gui_init_font(p_guifontset, TRUE) != OK)
errmsg = (char_u *)N_("E598: Invalid fontset");
errmsg = N_("E598: Invalid fontset");
redraw_gui_only = TRUE;
}
# endif
@@ -7687,7 +7687,7 @@ did_set_string_option(
p = (char_u *)MOUSE_ALL;
#else
if (*p_mouse != NUL)
errmsg = (char_u *)N_("E538: No mouse support");
errmsg = N_("E538: No mouse support");
#endif
}
#if defined(FEAT_GUI)