commit | a5c0cc11330157c721748e317e8ff54b649610ca | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 30 16:40:39 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 30 16:40:39 2016 +0200 |
tree | f5bee8724c19f93d4fabee012b7bdacd4797a982 | |
parent | 623cf88f9c5ad49cce8e846af29a1bb9346c7481 [diff] [blame] |
patch 7.4.2125 Problem: Compiler warning for loss of data. Solution: Add a type cast. (Christian Brabandt)
diff --git a/src/message.c b/src/message.c index fe68b5b..b4d7b65 100644 --- a/src/message.c +++ b/src/message.c
@@ -304,7 +304,7 @@ if (len + n > room || half == 0) break; len += n; - i = half; + i = (int)half; } } else