Hi Bram!

On Fr, 01 Jul 2016, Bram Moolenaar wrote:

> 
> Patch 7.4.1973
> Problem:    On MS-Windows the package directory may be added at the end
>             because of forward/backward slash differences. (Matthew
>             Desjardins)
> Solution:   Ignore slash differences.
> Files:      src/ex_cmds2.c

I see a warning when compiling on Windows:

ex_cmds2.c
ex_cmds2.c(3375) : warning C4267: '=' : conversion from 'size_t' to 
'int', possible loss of data

this patch fixes it:
diff -r 4aa80bcc9a00 src/ex_cmds2.c
--- a/src/ex_cmds2.c    Sat Jul 02 21:30:06 2016 +0200
+++ b/src/ex_cmds2.c    Sat Jul 02 21:47:53 2016 +0200
@@ -3349,7 +3349,7 @@
     char_u  *afterdir;
     size_t  afterlen = 0;
     char_u  *ffname = fix_fname(fname);
-    int            fname_len;
+    size_t  fname_len;

     if (ffname == NULL)
        return;


Best,
Christian
-- 
Der Mensch kann die Krönung der Schöpfung bleiben, wenn er begreift,
daß er sie nicht ist.
                -- Carl Amery

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui