changeset 1517:066778e39c2a v7.1.232

updated for version 7.1-232
author vimboss
date Fri, 18 Jan 2008 10:40:55 +0000
parents ee9d2d24ea9b
children 75ab683fdb50
files src/ex_cmds2.c src/netbeans.c src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -916,7 +916,7 @@ profile_setlimit(msec, tm)
 
 	QueryPerformanceCounter(tm);
 	QueryPerformanceFrequency(&fr);
-	tm->QuadPart +=  (double)msec / 1000.0 * (double)fr.QuadPart;
+	tm->QuadPart += (LONGLONG)((double)msec / 1000.0 * (double)fr.QuadPart);
 # else
 	long	    usec;
 
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -1217,7 +1217,7 @@ nb_partialremove(linenr_T lnum, colnr_T 
 
     oldtext = ml_get(lnum);
     oldlen = STRLEN(oldtext);
-    if (first >= oldlen || oldlen == 0)  /* just in case */
+    if (first >= (colnr_T)oldlen || oldlen == 0)  /* just in case */
 	return;
     if (lastbyte >= oldlen)
 	lastbyte = oldlen - 1;
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    232,
+/**/
     231,
 /**/
     230,