diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-05-15 19:33:18 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-05-15 19:33:18 +0000 |
commit | 78a1531005adc6bfe435ee2b9207864688bea7e9 (patch) | |
tree | c0f3a65c5bc4a285124b518dabb080c311968ea3 /src/regexp.c | |
parent | 0c094b9d7f8a031e2cb495551ecc13e34cfa5818 (diff) | |
download | vim-git-78a1531005adc6bfe435ee2b9207864688bea7e9.tar.gz |
updated for version 7.2-174v7.2.174
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regexp.c b/src/regexp.c index 00df12d54..dc0433dbf 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -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; |