diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-17 22:14:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-17 22:14:47 +0000 |
commit | a93fa7ee7856b54d3778e613c7b7e4b76aaeb2af (patch) | |
tree | 4797f43c4e1694903d93da1b61ba972955cb6aad /src/popupmnu.c | |
parent | b21e5843e53d3582df5f521f57e7e52e83d51d10 (diff) | |
download | vim-git-a93fa7ee7856b54d3778e613c7b7e4b76aaeb2af.tar.gz |
updated for version 7.0e01v7.0e01
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r-- | src/popupmnu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c index a3324772c..fc5ffff3a 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -279,7 +279,7 @@ pum_redraw() if (*p == NUL || *p == TAB || totwidth + w > pum_width) { /* Display the text that fits or comes before a Tab. */ - screen_puts_len(s, p - s, row, col, attr); + screen_puts_len(s, (int)(p - s), row, col, attr); col += width; if (*p != TAB) @@ -462,7 +462,7 @@ pum_set_selected(n) else { *e = NUL; - ml_append(lnum++, p, e - p + 1, FALSE); + ml_append(lnum++, p, (int)(e - p + 1), FALSE); *e = '\n'; p = e + 1; } |