Patch 7.4.481

56 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 16, 2014, 2:35:48 PM10/16/14
to vim...@googlegroups.com

Patch 7.4.481 (after 7.4.471)
Problem: Compiler warning on MS-Windows.
Solution: Add type casts. (Ken Takata)
Files: src/os_mswin.c


*** ../vim-7.4.480/src/os_mswin.c 2014-10-15 22:50:06.946093724 +0200
--- src/os_mswin.c 2014-10-16 20:33:05.874264494 +0200
***************
*** 1644,1653 ****
char_u *to_free = NULL;
int maxlen;

! acp_to_enc(printer_name, STRLEN(printer_name), &to_free, &maxlen);
if (to_free != NULL)
printer_name = to_free;
! acp_to_enc(port_name, STRLEN(port_name), &to_free, &maxlen);
if (to_free != NULL)
port_name = to_free;
}
--- 1644,1654 ----
char_u *to_free = NULL;
int maxlen;

! acp_to_enc(printer_name, (int)STRLEN(printer_name), &to_free,
! &maxlen);
if (to_free != NULL)
printer_name = to_free;
! acp_to_enc(port_name, (int)STRLEN(port_name), &to_free, &maxlen);
if (to_free != NULL)
port_name = to_free;
}
*** ../vim-7.4.480/src/version.c 2014-10-16 16:16:33.970230873 +0200
--- src/version.c 2014-10-16 20:34:30.882264680 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 481,
/**/

--
Bravely bold Sir Robin, rode forth from Camelot,
He was not afraid to die, Oh Brave Sir Robin,
He was not at all afraid to be killed in nasty ways
Brave, brave, brave, brave Sir Robin.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///

Marslo Jiao

unread,
Oct 20, 2014, 12:13:22 AM10/20/14
to vim...@googlegroups.com
xpm_w32.c Error shows again in cygwin with parameter "GUI=yes":
xpm_w32.c:31:17: fatal error: xpm.h: No such file or directory
compilation terminated.
Make_cyg.mak:657: recipe for target 'gobj/xpm_w32.o' failed
make: *** [gobj/xpm_w32.o] Error 1
Reply all
Reply to author
Forward
0 new messages