aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/debugger.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-06-10 19:28:47 +0200
committerGitHub <noreply@github.com>2022-06-10 19:28:47 +0200
commit673b3a780e969132330099c9b6008a766280e384 (patch)
treecd6b0dbad292dcbfaae637ffad385298594a2ff2 /src/nvim/debugger.c
parente15d31b530c443daea04d7a772b24da737397c53 (diff)
parenta732c253b71f89702285d5ec6fd7803045f6add9 (diff)
downloadrneovim-673b3a780e969132330099c9b6008a766280e384.tar.gz
rneovim-673b3a780e969132330099c9b6008a766280e384.tar.bz2
rneovim-673b3a780e969132330099c9b6008a766280e384.zip
Merge pull request #18461 from dundargoc/refactor/change-linenr-to-int32
refactor: change type of linenr_T from long to int32_t
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r--src/nvim/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c
index 30d6ea2505..29dcddfc0d 100644
--- a/src/nvim/debugger.c
+++ b/src/nvim/debugger.c
@@ -506,7 +506,7 @@ static int dbg_parsearg(char_u *arg, garray_T *gap)
if (here) {
bp->dbg_lnum = curwin->w_cursor.lnum;
} else if (gap != &prof_ga && ascii_isdigit(*p)) {
- bp->dbg_lnum = getdigits_long((char_u **)&p, true, 0);
+ bp->dbg_lnum = getdigits_int32(&p, true, 0);
p = skipwhite(p);
} else {
bp->dbg_lnum = 0;