# HG changeset patch # User Bram Moolenaar # Date 1547236807 -3600 # Node ID 79b56abd37c69fe8c3b73183d6be5cad2a30fabd # Parent 77349932500af8f5ef0892564759332f0f006a06 patch 8.1.0727: compiler warning for sprintf() argument commit https://github.com/vim/vim/commit/44a7db4ffdd11dafd345fd1c2c7b2509d01e3895 Author: Bram Moolenaar Date: Fri Jan 11 20:47:31 2019 +0100 patch 8.1.0727: compiler warning for sprintf() argument Problem: Compiler warning for sprintf() argument. Solution: Add type cast. diff --git a/src/dosinst.c b/src/dosinst.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -796,6 +796,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 727, +/**/ 726, /**/ 725,