mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.1.0957: MS-Windows: conversion warnings
Problem: MS-Windows: conversion warnings Solution: add explicit type casts (Yegappan Lakshmanan) closes: #16288 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8d0bb6dc9f
commit
084529c03d
@@ -3184,7 +3184,7 @@ any_var_get_obj_member(class_T *current_class, isn_T *iptr, typval_T *tv)
|
||||
copy_tv(tv, &mtv);
|
||||
|
||||
// 'name' can either be a object variable or a object method
|
||||
int namelen = STRLEN(iptr->isn_arg.string);
|
||||
int namelen = (int)STRLEN(iptr->isn_arg.string);
|
||||
int save_did_emsg = did_emsg;
|
||||
|
||||
if (get_member_tv(obj->obj_class, TRUE, iptr->isn_arg.string, namelen,
|
||||
|
Reference in New Issue
Block a user