aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-08-08 08:53:35 -0400
committerJames McCoy <jamessan@jamessan.com>2020-08-08 08:53:35 -0400
commite813ec79c201c85c5af3b10c051ae92ab5cb8606 (patch)
treea50a35a015f9b6b2a5a4041e677bbf7ad49009eb /src/nvim/eval.c
parent3e3002b90c46fca8d8d5edebc021e56d95c5e645 (diff)
downloadrneovim-e813ec79c201c85c5af3b10c051ae92ab5cb8606.tar.gz
rneovim-e813ec79c201c85c5af3b10c051ae92ab5cb8606.tar.bz2
rneovim-e813ec79c201c85c5af3b10c051ae92ab5cb8606.zip
libcall: Use "int" for number argument
The libcall family of functions need to use "int" for both input and output. The output side was fixed in 9c42232 but I forgot about the input side. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch libcallnr # Your branch is up to date with 'upstream/master'. # # Changes to be committed: # modified: src/nvim/eval/funcs.c # modified: src/nvim/os/dl.c #
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index e39f36957c..7766c793e4 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -12656,7 +12656,7 @@ static void libcall_common(typval_T *argvars, typval_T *rettv, int out_type)
// input variables
char *str_in = (in_type == VAR_STRING)
? (char *) argvars[2].vval.v_string : NULL;
- int64_t int_in = argvars[2].vval.v_number;
+ int int_in = argvars[2].vval.v_number;
// output variables
char **str_out = (out_type == VAR_STRING)