|
Karsten Hopp |
31ba1b |
To: vim-dev@vim.org
|
|
Karsten Hopp |
31ba1b |
Subject: Patch 7.1.232
|
|
Karsten Hopp |
31ba1b |
Fcc: outbox
|
|
Karsten Hopp |
31ba1b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
31ba1b |
Mime-Version: 1.0
|
|
Karsten Hopp |
31ba1b |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
31ba1b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
31ba1b |
------------
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
Patch 7.1.232 (after 7.1.207 and 7.1.211)
|
|
Karsten Hopp |
31ba1b |
Problem: Compiler warnings with MSVC.
|
|
Karsten Hopp |
31ba1b |
Solution: Add type casts. (Mike Williams)
|
|
Karsten Hopp |
31ba1b |
Files: src/ex_cmds2.c, src/netbeans.c
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
*** ../vim-7.1.231/src/ex_cmds2.c Tue Jan 15 22:16:36 2008
|
|
Karsten Hopp |
31ba1b |
--- src/ex_cmds2.c Tue Jan 15 20:41:28 2008
|
|
Karsten Hopp |
31ba1b |
***************
|
|
Karsten Hopp |
31ba1b |
*** 916,922 ****
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
QueryPerformanceCounter(tm);
|
|
Karsten Hopp |
31ba1b |
QueryPerformanceFrequency(&fr);
|
|
Karsten Hopp |
31ba1b |
! tm->QuadPart += (double)msec / 1000.0 * (double)fr.QuadPart;
|
|
Karsten Hopp |
31ba1b |
# else
|
|
Karsten Hopp |
31ba1b |
long usec;
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
--- 916,922 ----
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
QueryPerformanceCounter(tm);
|
|
Karsten Hopp |
31ba1b |
QueryPerformanceFrequency(&fr);
|
|
Karsten Hopp |
31ba1b |
! tm->QuadPart += (LONGLONG)((double)msec / 1000.0 * (double)fr.QuadPart);
|
|
Karsten Hopp |
31ba1b |
# else
|
|
Karsten Hopp |
31ba1b |
long usec;
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
*** ../vim-7.1.231/src/netbeans.c Sat Jan 5 18:06:33 2008
|
|
Karsten Hopp |
31ba1b |
--- src/netbeans.c Mon Jan 14 21:11:02 2008
|
|
Karsten Hopp |
31ba1b |
***************
|
|
Karsten Hopp |
31ba1b |
*** 1217,1223 ****
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
oldtext = ml_get(lnum);
|
|
Karsten Hopp |
31ba1b |
oldlen = STRLEN(oldtext);
|
|
Karsten Hopp |
31ba1b |
! if (first >= oldlen || oldlen == 0) /* just in case */
|
|
Karsten Hopp |
31ba1b |
return;
|
|
Karsten Hopp |
31ba1b |
if (lastbyte >= oldlen)
|
|
Karsten Hopp |
31ba1b |
lastbyte = oldlen - 1;
|
|
Karsten Hopp |
31ba1b |
--- 1217,1223 ----
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
oldtext = ml_get(lnum);
|
|
Karsten Hopp |
31ba1b |
oldlen = STRLEN(oldtext);
|
|
Karsten Hopp |
31ba1b |
! if (first >= (colnr_T)oldlen || oldlen == 0) /* just in case */
|
|
Karsten Hopp |
31ba1b |
return;
|
|
Karsten Hopp |
31ba1b |
if (lastbyte >= oldlen)
|
|
Karsten Hopp |
31ba1b |
lastbyte = oldlen - 1;
|
|
Karsten Hopp |
31ba1b |
*** ../vim-7.1.231/src/version.c Wed Jan 16 20:01:14 2008
|
|
Karsten Hopp |
31ba1b |
--- src/version.c Fri Jan 18 11:38:39 2008
|
|
Karsten Hopp |
31ba1b |
***************
|
|
Karsten Hopp |
31ba1b |
*** 668,669 ****
|
|
Karsten Hopp |
31ba1b |
--- 668,671 ----
|
|
Karsten Hopp |
31ba1b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
31ba1b |
+ /**/
|
|
Karsten Hopp |
31ba1b |
+ 232,
|
|
Karsten Hopp |
31ba1b |
/**/
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
--
|
|
Karsten Hopp |
31ba1b |
Why is "abbreviation" such a long word?
|
|
Karsten Hopp |
31ba1b |
|
|
Karsten Hopp |
31ba1b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
31ba1b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
31ba1b |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
31ba1b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|