summaryrefslogtreecommitdiff
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-12 18:13:38 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-12 18:13:38 +0200
commitedb07a2d889481525396eb76cd5bff4be592784e (patch)
treedbd52cfa4b5c63bdaafda98b32426729b5110be4 /src/if_py_both.h
parent2d473ab932b5c46a77715ea507de3990b70d96c1 (diff)
downloadvim-git-edb07a2d889481525396eb76cd5bff4be592784e.tar.gz
updated for version 7.3.1176v7.3.1176
Problem: Compiler warnings on 64 bit system. Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index e5d8d5e37..85b46314b 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -992,7 +992,7 @@ find_module(char *fullname, char *tail, PyObject *new_path)
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, PyObject *new_path)
if (!(module = call_load_module(
fullname,
- STRLEN(fullname),
+ (int)STRLEN(fullname),
find_module_result)))
{
Py_DECREF(find_module_result);