diff options
Diffstat (limited to 'src/filepath.c')
-rw-r--r-- | src/filepath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filepath.c b/src/filepath.c index 4ddeeaf45..8da6e1772 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -79,7 +79,7 @@ get_short_pathname(char_u **fnamep, char_u **bufp, int *fnamelen) vim_free(wfname); vim_free(newbuf); - *fnamelen = l == 0 ? l : STRLEN(*bufp); + *fnamelen = l == 0 ? l : (int)STRLEN(*bufp); return OK; } |