commit | 8934ec027da323aea95d4f6f6cf4967f054433b2 | [log] [tgz] |
---|---|---|
author | Wilhelm Payne <wbpayne@wilhelmpayne.com> | Sun Aug 28 17:08:18 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 28 17:08:18 2022 +0100 |
tree | bacfbfa45c7177163b72cf2857df19a552501020 | |
parent | c8bf59e9b27f9d621818ffc61468abef45cedf37 [diff] [blame] |
patch 9.0.0298: compiler warning for size_t to int conversion Problem: Compiler warning for size_t to int conversion. Solution: Add a type cast. (Wilhelm Payne, closes #11000)
diff --git a/src/message.c b/src/message.c index bff54d0..aa3506e 100644 --- a/src/message.c +++ b/src/message.c
@@ -2285,7 +2285,7 @@ redraw_win_later(wp, UPD_NOT_VALID); // set msg_col so that a newline is written if needed - msg_col = STRLEN(t_s); + msg_col = (int)STRLEN(t_s); } #endif