summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/os_unix.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 71886538e..05ad6b8df 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4199,7 +4199,7 @@ set_child_environment(
# ifdef FEAT_TERMINAL
if (is_terminal)
{
- sprintf((char *)envbuf, "%ld", get_vim_var_nr(VV_VERSION));
+ sprintf((char *)envbuf, "%ld", (long)get_vim_var_nr(VV_VERSION));
setenv("VIM_TERMINAL", (char *)envbuf, 1);
}
# endif
@@ -4227,7 +4227,7 @@ set_child_environment(
if (is_terminal)
{
vim_snprintf(envbuf_Version, sizeof(envbuf_Version),
- "VIM_TERMINAL=%ld", get_vim_var_nr(VV_VERSION));
+ "VIM_TERMINAL=%ld", (long)get_vim_var_nr(VV_VERSION));
putenv(envbuf_Version);
}
# endif
diff --git a/src/version.c b/src/version.c
index 2ea298bc3..90ec0e414 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 54,
+/**/
53,
/**/
52,