Problem: MSVC conversion warning (LemonBoy, after 9.1.0522)
Solution: Use size_t instead of int, fix style of casts
(Ernie Rael)
related: #15082
closes: #15187
Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
else if (copyID != 0 && obj->obj_copyID == copyID
&& obj->obj_class->class_obj_member_count != 0)
{
- int n = 25 + strlen((char*)obj->obj_class->class_name);
+ size_t n = 25 + strlen((char *)obj->obj_class->class_name);
r = alloc(n);
if (r != NULL)
- (void)vim_snprintf((char*)r, n, "object of %s {...}",
+ (void)vim_snprintf((char *)r, n, "object of %s {...}",
obj->obj_class->class_name);
*tofree = r;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 545,
/**/
544,
/**/