diff src/if_py_both.h @ 4859:e48cabe98453 v7.3.1176

updated for version 7.3.1176 Problem: Compiler warnings on 64 bit system. Solution: Add type casts. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Wed, 12 Jun 2013 18:13:38 +0200
parents 52850ef928f8
children 0792cc5133ce
line wrap: on
line diff
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -992,7 +992,7 @@ find_module(char *fullname, char *tail, 
     if ((dot = (char *) vim_strchr((char_u *) tail, '.')))
     {
 	/*
-	 * There is a dot in the name: call find_module recursively without the 
+	 * There is a dot in the name: call find_module recursively without the
 	 * first component
 	 */
 	PyObject	*newest_path;
@@ -1035,7 +1035,7 @@ find_module(char *fullname, char *tail, 
 
 	if (!(module = call_load_module(
 			fullname,
-			STRLEN(fullname),
+			(int)STRLEN(fullname),
 			find_module_result)))
 	{
 	    Py_DECREF(find_module_result);