summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-27 21:22:14 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-27 21:22:14 +0200
commitf4b68e9056f8ddb64c3d7141df138fe099575abf (patch)
treeef617d01df43ccc6fdac6db2aa77c45b21ece09f /src/terminal.c
parent80a20df86a1ceefa3506cc578ba0ba35da979e38 (diff)
downloadvim-git-f4b68e9056f8ddb64c3d7141df138fe099575abf.tar.gz
patch 8.2.0831: compiler warnings for integer sizesv8.2.0831
Problem: Compiler warnings for integer sizes. Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 0a5ccbc59..52f8105ca 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -4230,7 +4230,7 @@ parse_osc(int command, VTermStringFragment frag, void *user)
return 1;
}
mch_memmove((char *)gap->ga_data + gap->ga_len, frag.str, frag.len);
- gap->ga_len += frag.len;
+ gap->ga_len += (int)frag.len;
if (!frag.final)
return 1;