]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1176 v7.3.1176
authorBram Moolenaar <Bram@vim.org>
Wed, 12 Jun 2013 16:13:38 +0000 (18:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 12 Jun 2013 16:13:38 +0000 (18:13 +0200)
Problem:    Compiler warnings on 64 bit system.
Solution:   Add type casts. (Mike Williams)

src/eval.c
src/if_py_both.h
src/version.c

index 4e4bbc04e6150590f425c97391c065e4bf8262b0..18512a97ea0878b9ede576290037e79bb28d2229 100644 (file)
@@ -10980,7 +10980,8 @@ f_function(argvars, rettv)
             * also work, but some plugins depend on the name being printable
             * text. */
            sprintf(sid_buf, "<SNR>%ld_", (long)current_SID);
-           rettv->vval.v_string = alloc(STRLEN(sid_buf) + STRLEN(s + 2) + 1);
+           rettv->vval.v_string =
+                           alloc((int)(STRLEN(sid_buf) + STRLEN(s + 2) + 1));
            if (rettv->vval.v_string != NULL)
            {
                STRCPY(rettv->vval.v_string, sid_buf);
index e5d8d5e37d98f96a8bfabf334bc7950595737f5e..85b46314bfa2e06b715bee5583e8491f5c721386 100644 (file)
@@ -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);
index fbd69b941e4cb68199d0e13d13051e6cf0ca5520..7ea945f78053b425b8c95e8b71dd47dfda8c3e0b 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1176,
 /**/
     1175,
 /**/