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.128 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.7 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.128
  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.128
  11. Problem:    Another compiler warning for signed pointer.
  12. Solution:   Use unsigned int argument for sscanf().
  13. Files:        src/mark.c
  14.  
  15.  
  16. *** ../vim-7.3.127/src/mark.c    2010-08-15 21:57:25.000000000 +0200
  17. --- src/mark.c    2010-12-17 20:00:05.000000000 +0100
  18. ***************
  19. *** 1750,1756 ****
  20.           {
  21.           if (line[1] != NUL)
  22.           {
  23. !             sscanf((char *)line + 2, "%ld %u", &pos.lnum, &pos.col);
  24.               switch (line[1])
  25.               {
  26.               case '"': curbuf->b_last_cursor = pos; break;
  27. --- 1750,1759 ----
  28.           {
  29.           if (line[1] != NUL)
  30.           {
  31. !             unsigned u;
  32. !             sscanf((char *)line + 2, "%ld %u", &pos.lnum, &u);
  33. !             pos.col = u;
  34.               switch (line[1])
  35.               {
  36.               case '"': curbuf->b_last_cursor = pos; break;
  37. *** ../vim-7.3.127/src/version.c    2011-02-25 14:46:06.000000000 +0100
  38. --- src/version.c    2011-02-25 15:10:34.000000000 +0100
  39. ***************
  40. *** 716,717 ****
  41. --- 716,719 ----
  42.   {   /* Add new patch number below this line */
  43. + /**/
  44. +     128,
  45.   /**/
  46.  
  47. -- 
  48. FATHER:    Who are you?
  49. PRINCE:    I'm ... your son ...
  50. FATHER:    Not you.
  51. LAUNCELOT: I'm ... er ... Sir Launcelot, sir.
  52.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  53.  
  54.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  55. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  56. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  57.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  58.