From: Bram Moolenaar Date: Wed, 12 Jun 2013 16:13:38 +0000 (+0200) Subject: updated for version 7.3.1176 X-Git-Tag: v7.3.1176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edb07a2d889481525396eb76cd5bff4be592784e;p=vim updated for version 7.3.1176 Problem: Compiler warnings on 64 bit system. Solution: Add type casts. (Mike Williams) --- diff --git a/src/eval.c b/src/eval.c index 4e4bbc04e..18512a97e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -10980,7 +10980,8 @@ f_function(argvars, rettv) * also work, but some plugins depend on the name being printable * text. */ sprintf(sid_buf, "%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); 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); diff --git a/src/version.c b/src/version.c index fbd69b941..7ea945f78 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1176, /**/ 1175, /**/