# HG changeset patch # User Bram Moolenaar # Date 1410258126 -7200 # Node ID 5672a06e4bd84cae4194ff0584d487448bad8c38 # Parent dde8ff798ed9c819d93f1336837c44d64fc996bc updated for version 7.4.431 Problem: Compiler warning. Solution: Add type cast. (Mike Williams) diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2155,7 +2155,7 @@ do_one_cmd(cmdlinep, sourcing, p = ea.cmd; while (ASCII_ISALNUM(*p)) ++p; - p = vim_strnsave(ea.cmd, p - ea.cmd); + p = vim_strnsave(ea.cmd, (int)(p - ea.cmd)); ret = apply_autocmds(EVENT_CMDUNDEFINED, p, p, TRUE, NULL); vim_free(p); if (ret && !aborting()) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 431, +/**/ 430, /**/ 429,