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:
Yegappan Lakshmanan
2024-12-24 09:50:01 +01:00
committed by Christian Brabandt
parent 8d0bb6dc9f
commit 084529c03d
9 changed files with 19 additions and 17 deletions

View File

@ -3124,7 +3124,7 @@ ex_undolist(exarg_T *eap UNUSED)
// we have to call STRLEN() here because add_time() does not report
// the number of characters added.
len += STRLEN(IObuff + len);
len += (int)STRLEN(IObuff + len);
if (uhp->uh_save_nr > 0)
{
int n = (len >= 33) ? 0 : 33 - len;