Christian Brabandt wrote: > 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;
I'll include that, thanks. -- hundred-and-one symptoms of being an internet addict: 189. You put your e-mail address in the upper left-hand corner of envelopes. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
