summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-17 17:13:30 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-17 17:13:30 +0100
commit88c86eb751de9e7e410b405084d35b32fafc2a24 (patch)
treecf0c456ba4a4f0455fdcae1452e10716ae23a53c /src/json.c
parent4131fd5509b283e978e8c6161f09643b64719787 (diff)
downloadvim-git-88c86eb751de9e7e410b405084d35b32fafc2a24.tar.gz
patch 8.1.0766: various problems when using Vim on VMSv8.1.0766
Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index 11bb04832..ff6641126 100644
--- a/src/json.c
+++ b/src/json.c
@@ -218,7 +218,7 @@ json_encode_item(garray_T *gap, typval_T *val, int copyID, int options)
case VAR_NUMBER:
vim_snprintf((char *)numbuf, NUMBUFLEN, "%lld",
- (long long)val->vval.v_number);
+ (long_long_T)val->vval.v_number);
ga_concat(gap, numbuf);
break;