From 0f77d6afd506d1be4b0bef46e1d2268440e1ba88 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 14 Feb 2019 20:55:09 +0100 Subject: patch 8.1.0919: compiler warnings Problem: Compiler warnings. Solution: Add type casts. (Mike Williams) --- src/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/message.c') 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); -- cgit v1.2.1