mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.1176
Problem: Compiler warnings on 64 bit system. Solution: Add type casts. (Mike Williams)
This commit is contained in:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1176,
|
||||
/**/
|
||||
1175,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user