diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-06 22:52:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-06 22:52:02 +0200 |
commit | 5d2f40792e47a48fc56efafd30b68660a42184a7 (patch) | |
tree | a48b259efd011a67eabe4fd61203d08f9722af05 | |
parent | ae728edc93fe5a2f8c39fa75b1ae9ed71526858c (diff) | |
download | vim-git-5d2f40792e47a48fc56efafd30b68660a42184a7.tar.gz |
patch 8.1.0156: MS-Windows compiler warningv8.1.0156
Problem: MS-Windows compiler warning.
Solution: Add a type cast. (Mike Williams)
-rw-r--r-- | src/version.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c index 2be3ae1c0..63a7694d5 100644 --- a/src/version.c +++ b/src/version.c @@ -61,7 +61,7 @@ init_longVersion(void) + strlen(VIM_VERSION_DATE_ONLY) + strlen(date_time); - longVersion = (char *)alloc(len); + longVersion = (char *)alloc((unsigned)len); if (longVersion == NULL) longVersion = VIM_VERSION_LONG; else @@ -790,6 +790,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 156, +/**/ 155, /**/ 154, |