changeset 4342:923277a9cce4 v7.3.920

updated for version 7.3.920 Problem: Compiler warning for size_t to int. Solution: Add a type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Sat, 04 May 2013 03:40:27 +0200
parents 19b48d794174
children 0b784e02304d
files src/misc1.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -10139,7 +10139,7 @@ expand_path_option(curdir, gap)
 # if defined(MSWIN) || defined(MSDOS)
 	/* Avoid the path ending in a backslash, it fails when a comma is
 	 * appended. */
-	len = STRLEN(buf);
+	len = (int)STRLEN(buf);
 	if (buf[len - 1] == '\\')
 	    buf[len - 1] = '/';
 # endif
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    920,
+/**/
     919,
 /**/
     918,