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.3 / 7.3.1208 < prev    next >
Encoding:
Internet Message Format  |  2013-06-15  |  2.3 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1208
  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.3.1208
  11. Problem:    Compiler warnings on MS-Windows.
  12. Solution:   Add type cast.  Move variable declaration. (Mike Williams)
  13. Files:        src/option.c, src/os_mswin.c
  14.  
  15.  
  16. *** ../vim-7.3.1207/src/option.c    2013-06-08 18:19:40.000000000 +0200
  17. --- src/option.c    2013-06-16 15:59:00.000000000 +0200
  18. ***************
  19. *** 3181,3187 ****
  20.           if (opt_idx >= 0)
  21.           {
  22.   #if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
  23. !         if ((long)options[opt_idx].def_val[VI_DEFAULT] > n
  24.               || (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
  25.   #endif
  26.               options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
  27. --- 3181,3187 ----
  28.           if (opt_idx >= 0)
  29.           {
  30.   #if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
  31. !         if ((long)options[opt_idx].def_val[VI_DEFAULT] > (long)n
  32.               || (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
  33.   #endif
  34.               options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
  35. *** ../vim-7.3.1207/src/os_mswin.c    2013-05-06 04:21:35.000000000 +0200
  36. --- src/os_mswin.c    2013-06-16 15:59:41.000000000 +0200
  37. ***************
  38. *** 1897,1903 ****
  39.       HWND        sender = (HWND)wParam;
  40.       COPYDATASTRUCT    reply;
  41.       char_u        *res;
  42. -     char_u        winstr[30];
  43.       int        retval;
  44.       char_u        *str;
  45.       char_u        *tofree;
  46. --- 1897,1902 ----
  47. ***************
  48. *** 1970,1975 ****
  49. --- 1969,1976 ----
  50.   #ifdef FEAT_AUTOCMD
  51.           else if (data->dwData == COPYDATA_REPLY)
  52.           {
  53. +             char_u    winstr[30];
  54.               sprintf((char *)winstr, PRINTF_HEX_LONG_U, (long_u)sender);
  55.               apply_autocmds(EVENT_REMOTEREPLY, winstr, str,
  56.                                   TRUE, curbuf);
  57. *** ../vim-7.3.1207/src/version.c    2013-06-16 15:43:43.000000000 +0200
  58. --- src/version.c    2013-06-16 15:57:31.000000000 +0200
  59. ***************
  60. *** 730,731 ****
  61. --- 730,733 ----
  62.   {   /* Add new patch number below this line */
  63. + /**/
  64. +     1208,
  65.   /**/
  66.  
  67. -- 
  68. Get a life?  What is the URL where it can be downloaded?
  69.  
  70.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  71. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  72. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  73.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  74.