0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

updated for version 7.2-174

This commit is contained in:
Bram Moolenaar
2009-05-15 19:33:18 +00:00
parent 0c094b9d7f
commit 78a1531005
16 changed files with 95 additions and 137 deletions

View File

@@ -471,7 +471,7 @@ get_char_class(pp)
if ((*pp)[1] == ':')
{
for (i = 0; i < sizeof(class_names) / sizeof(*class_names); ++i)
for (i = 0; i < (int)(sizeof(class_names) / sizeof(*class_names)); ++i)
if (STRNCMP(*pp + 2, class_names[i], STRLEN(class_names[i])) == 0)
{
*pp += STRLEN(class_names[i]) + 2;
@@ -3362,12 +3362,11 @@ vim_regexec_multi(rmp, win, buf, lnum, col, tm)
* Match a regexp against a string ("line" points to the string) or multiple
* lines ("line" is NULL, use reg_getline()).
*/
/*ARGSUSED*/
static long
vim_regexec_both(line, col, tm)
char_u *line;
colnr_T col; /* column to start looking for match */
proftime_T *tm; /* timeout limit or NULL */
proftime_T *tm UNUSED; /* timeout limit or NULL */
{
regprog_T *prog;
char_u *s;