Mercurial > vim
comparison src/filepath.c @ 18516:9676dc5fd705 v8.1.2252
patch 8.1.2252: compiler warning for int size
Commit: https://github.com/vim/vim/commit/2ade714728ff824f67a9a24ef495d509a389ee2f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 4 20:36:50 2019 +0100
patch 8.1.2252: compiler warning for int size
Problem: Compiler warning for int size.
Solution: Add type cast. (Mike Williams)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Nov 2019 20:45:04 +0100 |
parents | cbea1392c393 |
children | 8f05b3cf8557 |
comparison
equal
deleted
inserted
replaced
18515:66bf9aca6412 | 18516:9676dc5fd705 |
---|---|
77 } | 77 } |
78 } | 78 } |
79 vim_free(wfname); | 79 vim_free(wfname); |
80 vim_free(newbuf); | 80 vim_free(newbuf); |
81 | 81 |
82 *fnamelen = l == 0 ? l : STRLEN(*bufp); | 82 *fnamelen = l == 0 ? l : (int)STRLEN(*bufp); |
83 return OK; | 83 return OK; |
84 } | 84 } |
85 | 85 |
86 /* | 86 /* |
87 * Get the short path (8.3) for the filename in "fname". The converted | 87 * Get the short path (8.3) for the filename in "fname". The converted |