mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0545: MSVC conversion warning
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>
This commit is contained in:
parent
62f31e9499
commit
5285b3cd29
@ -6197,7 +6197,7 @@ object_tv2string(
|
|||||||
else if (copyID != 0 && obj->obj_copyID == copyID
|
else if (copyID != 0 && obj->obj_copyID == copyID
|
||||||
&& obj->obj_class->class_obj_member_count != 0)
|
&& 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);
|
r = alloc(n);
|
||||||
if (r != NULL)
|
if (r != NULL)
|
||||||
(void)vim_snprintf((char *)r, n, "object of %s {...}",
|
(void)vim_snprintf((char *)r, n, "object of %s {...}",
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
545,
|
||||||
/**/
|
/**/
|
||||||
544,
|
544,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user