vim-patch:8.2.3437: compiler warnings for 32/64 bit usage

Problem:    Compiler warnings for 32/64 bit usage.
Solution:   Add type casts. (Mike Williams, closes vim/vim#8870)
f5785cf059
This commit is contained in:
zeertzjq
2021-09-19 13:13:44 +08:00
parent a348c666a3
commit f4ce4c1677
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ static long xdl_get_rec(xdfile_t *xdf, long ri, char const **rec) {
static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb) {
long size, psize = strlen(pre);
long size, psize = (long)strlen(pre);
char const *rec;
size = xdl_get_rec(xdf, ri, &rec);