commit | b54b8e0c86b0590394803157818c72412a6f0b6a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 01 01:05:53 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 01 01:05:53 2020 +0100 |
tree | d9c7e25bf4bfb8ef72ccd4d8a2cee5049a5c7585 | |
parent | 42a480bf7243ea8bce498264911e187931d083e5 [diff] [blame] |
patch 8.2.0337: build fails on a few systems Problem: Build fails on a few systems. Solution: Use vim_snprintf() instead of snprintf().
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index ece5a46..1f70dc5 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c
@@ -2124,7 +2124,7 @@ int len = (int)STRLEN(pat) + 20; tofree = alloc(len); - snprintf((char *)tofree, len, "^<SNR>\\d\\+_%s", pat + 3); + vim_snprintf((char *)tofree, len, "^<SNR>\\d\\+_%s", pat + 3); pat = tofree; }