mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0727: compiler warning for sprintf() argument
Problem: Compiler warning for sprintf() argument. Solution: Add type cast.
This commit is contained in:
@@ -473,7 +473,7 @@ run_silent_uninstall(char *uninst_exe)
|
||||
for (i = 0; ; i++)
|
||||
{
|
||||
sprintf(temp_uninst, "%s\\vimun%04X.exe", temp_dir,
|
||||
(i + tick) & 0xFFFF);
|
||||
(unsigned int)((i + tick) & 0xFFFF));
|
||||
if (CopyFile(uninst_exe, temp_uninst, TRUE))
|
||||
break;
|
||||
if (GetLastError() != ERROR_FILE_EXISTS)
|
||||
|
@@ -795,6 +795,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
727,
|
||||
/**/
|
||||
726,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user