aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-11 15:34:38 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-11 15:34:38 -0500
commit7f30439d0f4d8d7e6b18f56d83d6fe868c84318c (patch)
treecdbe41bd51e1db7ba38b4ecc84d562b21c374a06 /src/nvim/regexp.c
parenta684cc175a6c1ca2cfc3bff2d68383d32008cb3b (diff)
parent7f7262e93390a1855ac9c687bd492eadfe10cf98 (diff)
downloadrneovim-7f30439d0f4d8d7e6b18f56d83d6fe868c84318c.tar.gz
rneovim-7f30439d0f4d8d7e6b18f56d83d6fe868c84318c.tar.bz2
rneovim-7f30439d0f4d8d7e6b18f56d83d6fe868c84318c.zip
Merge pull request #1794 from elmart/remove-long_u-cleanup
Some suggested cleanup after #1788.
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index dd7af63ce0..62c01e3798 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -3082,10 +3082,10 @@ static int read_limits(long *minval, long *maxval)
reverse = TRUE;
}
first_char = regparse;
- *minval = getdigits(&regparse);
+ *minval = getdigits_long(&regparse);
if (*regparse == ',') { /* There is a comma */
if (vim_isdigit(*++regparse))
- *maxval = getdigits(&regparse);
+ *maxval = getdigits_long(&regparse);
else
*maxval = MAX_LIMIT;
} else if (VIM_ISDIGIT(*first_char))