From 44a7db4ffdd11dafd345fd1c2c7b2509d01e3895 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 11 Jan 2019 20:47:31 +0100 Subject: [PATCH] patch 8.1.0727: compiler warning for sprintf() argument Problem: Compiler warning for sprintf() argument. Solution: Add type cast. --- src/dosinst.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dosinst.c b/src/dosinst.c index 5c290a8dd..5b0559887 100644 --- a/src/dosinst.c +++ b/src/dosinst.c @@ -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) diff --git a/src/version.c b/src/version.c index c7d63f194..c0a2bb4b0 100644 --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 727, /**/ 726, /**/ -- 2.40.0