diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-09-16 15:14:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-09-16 15:14:18 +0200 |
commit | 42c63356d774bbfe91712197e8969f60de828a32 (patch) | |
tree | 0e79f210d2cba589f23018d4a39cb4d67b0753a0 /src/xdiff | |
parent | 6e272acc82af900318017061f923e7f66dc7ee7a (diff) | |
download | vim-git-42c63356d774bbfe91712197e8969f60de828a32.tar.gz |
patch 8.1.0396: another compiler warning on 64-bit MS-Windowsv8.1.0396
Problem: Another compiler warning on 64-bit MS-Windows.
Solution: Add type cast. (Mike Williams)
Diffstat (limited to 'src/xdiff')
-rw-r--r-- | src/xdiff/xutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdiff/xutils.c b/src/xdiff/xutils.c index 4ab6ca8fd..25a090fb7 100644 --- a/src/xdiff/xutils.c +++ b/src/xdiff/xutils.c @@ -51,7 +51,7 @@ int xdl_emit_diffrec(char const *rec, long size, char const *pre, long psize, mb[1].size = size; if (size > 0 && rec[size - 1] != '\n') { mb[2].ptr = (char *) "\n\\ No newline at end of file\n"; - mb[2].size = strlen(mb[2].ptr); + mb[2].size = (long)strlen(mb[2].ptr); i++; } if (ecb->outf(ecb->priv, mb, i) < 0) { |