diff src/ex_getln.c @ 1524:50e0337c25ca v7.1.239

updated for version 7.1-239
author vimboss
date Tue, 22 Jan 2008 11:44:47 +0000
parents cc4fe241baa3
children fe7db192c7cc
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -4694,7 +4694,7 @@ call_user_expand_func(user_expand_func, 
     {
 	/* Completion from Insert mode, pass fake arguments. */
 	keep = 0;
-	sprintf((char *)num, "%d", STRLEN(xp->xp_pattern));
+	sprintf((char *)num, "%d", (int)STRLEN(xp->xp_pattern));
 	args[1] = xp->xp_pattern;
     }
     else