diff options
author | ZyX <kp-pav@yandex.ru> | 2016-03-20 21:31:49 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-04-18 02:48:20 +0300 |
commit | 494b1c9beef3755916048df29755d3d014902191 (patch) | |
tree | c3f180985580b4ec4ec9f319fa8362cfec66e721 /src/nvim/misc2.c | |
parent | 9af400f97916851ecd86975118faea2a8c68598f (diff) | |
download | rneovim-494b1c9beef3755916048df29755d3d014902191.tar.gz rneovim-494b1c9beef3755916048df29755d3d014902191.tar.bz2 rneovim-494b1c9beef3755916048df29755d3d014902191.zip |
*: Make set_vim_var_\* functions have proper argument types
Diffstat (limited to 'src/nvim/misc2.c')
-rw-r--r-- | src/nvim/misc2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/misc2.c b/src/nvim/misc2.c index 3c0a1414a6..4b64de1be0 100644 --- a/src/nvim/misc2.c +++ b/src/nvim/misc2.c @@ -327,9 +327,10 @@ int call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg) } } - set_vim_var_nr(VV_SHELL_ERROR, (long)retval); - if (do_profiling == PROF_YES) + set_vim_var_nr(VV_SHELL_ERROR, (varnumber_T) retval); + if (do_profiling == PROF_YES) { prof_child_exit(&wait_time); + } return retval; } |