1
0
forked from aniani/vim

patch 8.1.0919: compiler warnings

Problem:    Compiler warnings.
Solution:   Add type casts. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2019-02-14 20:55:09 +01:00
parent 9b5c1fcdea
commit 0f77d6afd5
3 changed files with 5 additions and 3 deletions

View File

@@ -2938,7 +2938,7 @@ do_more_prompt(int typed_char)
mch_errmsg(char *str)
{
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
int len = STRLEN(str);
int len = (int)STRLEN(str);
DWORD nwrite = 0;
DWORD mode = 0;
HANDLE h = GetStdHandle(STD_ERROR_HANDLE);
@@ -3026,7 +3026,7 @@ mch_errmsg(char *str)
mch_msg(char *str)
{
#if defined(WIN3264) && !defined(FEAT_GUI_MSWIN)
int len = STRLEN(str);
int len = (int)STRLEN(str);
DWORD nwrite = 0;
DWORD mode;
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);