Ken Takata wrote:

> Hi Bram,
> 
> 2014/10/10 Fri 0:06:25 UTC+9 Bram Moolenaar wrote:
> > Patch 7.4.471
> > Problem:    MS-Windows: When printer name contains multi-byte, the name is
> >         displayed as ???.
> > Solution:   Convert the printer name from the active codepage to 'encoding'.
> >         (Yasuhiro Matsumoto)
> > Files:          src/os_mswin.c
> 
> After this patch, the following warnings occur:
> 
> os_mswin.c(1647) : warning C4267: 'function' : conversion from 'size_t' to 
> 'int', possible loss of data
> os_mswin.c(1650) : warning C4267: 'function' : conversion from 'size_t' to 
> 'int', possible loss of data
> 
> Attached patch fixes them.

Thanks!

-- 
    A KNIGHT rides into shot and hacks him to the ground.  He rides off.
    We stay for a moment on the glade.  A MIDDLE-AGED LADY in a C. & A.
    twin-set emerges from the trees and looks in horror at the body of her
    HUSBAND.
MRS HISTORIAN: FRANK!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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.

Raspunde prin e-mail lui