diff options
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/terminal.c b/src/terminal.c index 7859941380..9a62edd67b 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -3400,7 +3400,7 @@ static VTermParserCallbacks parser_fallbacks = { static void * vterm_malloc(size_t size, void *data UNUSED) { - return alloc_clear(size); + return alloc_clear((unsigned) size); } static void @@ -4016,9 +4016,9 @@ get_separator(int text_width, char_u *fname) int fname_size; char_u *p = fname; int i; - int off; + size_t off; - textline = alloc(width + STRLEN(fname) + 1); + textline = alloc(width + (int)STRLEN(fname) + 1); if (textline == NULL) return NULL; |