diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-14 20:55:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-14 20:55:09 +0100 |
commit | 0f77d6afd506d1be4b0bef46e1d2268440e1ba88 (patch) | |
tree | 517f3860e69fef45cb273977937ed358f6082878 /src/message.c | |
parent | 9b5c1fcdeae75f82a2083fafbbf75ab220f6ac1e (diff) | |
download | vim-git-0f77d6afd506d1be4b0bef46e1d2268440e1ba88.tar.gz |
patch 8.1.0919: compiler warningsv8.1.0919
Problem: Compiler warnings.
Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c index 4aa15eba6..82772fdbc 100644 --- a/src/message.c +++ b/src/message.c @@ -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); |