home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.481 < prev    next >
Encoding:
Internet Message Format  |  2014-10-16  |  2.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.481
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.481 (after 7.4.471)
  11. Problem:    Compiler warning on MS-Windows.
  12. Solution:   Add type casts. (Ken Takata)
  13. Files:        src/os_mswin.c
  14.  
  15.  
  16. *** ../vim-7.4.480/src/os_mswin.c    2014-10-15 22:50:06.946093724 +0200
  17. --- src/os_mswin.c    2014-10-16 20:33:05.874264494 +0200
  18. ***************
  19. *** 1644,1653 ****
  20.           char_u  *to_free = NULL;
  21.           int     maxlen;
  22.   
  23. !         acp_to_enc(printer_name, STRLEN(printer_name), &to_free, &maxlen);
  24.           if (to_free != NULL)
  25.           printer_name = to_free;
  26. !         acp_to_enc(port_name, STRLEN(port_name), &to_free, &maxlen);
  27.           if (to_free != NULL)
  28.           port_name = to_free;
  29.       }
  30. --- 1644,1654 ----
  31.           char_u  *to_free = NULL;
  32.           int     maxlen;
  33.   
  34. !         acp_to_enc(printer_name, (int)STRLEN(printer_name), &to_free,
  35. !                                     &maxlen);
  36.           if (to_free != NULL)
  37.           printer_name = to_free;
  38. !         acp_to_enc(port_name, (int)STRLEN(port_name), &to_free, &maxlen);
  39.           if (to_free != NULL)
  40.           port_name = to_free;
  41.       }
  42. *** ../vim-7.4.480/src/version.c    2014-10-16 16:16:33.970230873 +0200
  43. --- src/version.c    2014-10-16 20:34:30.882264680 +0200
  44. ***************
  45. *** 743,744 ****
  46. --- 743,746 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     481,
  50.   /**/
  51.  
  52. -- 
  53.        Bravely bold Sir Robin, rode forth from Camelot,
  54.        He was not afraid to die, Oh Brave Sir Robin,
  55.        He was not at all afraid to be killed in nasty ways
  56.        Brave, brave, brave, brave Sir Robin.
  57.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  58.  
  59.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  60. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  61. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  62.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  63.