diff src/misc1.c @ 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 3887b02953ce
children 04736b4030ec
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