diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-15 20:45:20 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-15 20:45:20 +0100 |
commit | c7bd2f08e531f08723cdc677212a3633d11c9a97 (patch) | |
tree | fdd34459572b2000444716e97d7678145978fa79 /src/insexpand.c | |
parent | 3a393790a4fd7a5edcafbb55cd79438b6e641714 (diff) | |
download | vim-git-c7bd2f08e531f08723cdc677212a3633d11c9a97.tar.gz |
patch 9.0.0054: compiler warning for size_t to int conversionv9.0.0054
Problem: Compiler warning for size_t to int conversion.
Solution: Add type cast. (Mike Williams, closes #10741)
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 9c598a89f..b49a631a6 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -643,7 +643,7 @@ ins_compl_infercase_gettext( if (ga_grow(&gap, IOSIZE) == FAIL) return (char_u *)"[failed]"; STRCPY(gap.ga_data, IObuff); - gap.ga_len = STRLEN(IObuff); + gap.ga_len = (int)STRLEN(IObuff); } else if (has_mbyte) p += (*mb_char2bytes)(wca[i++], p); |