diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-26 16:44:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-26 16:44:24 +0200 |
commit | f4fba6dcd508cb369ffa6916d9cb3fcf3d7ed548 (patch) | |
tree | eadfcc55dff51f143e33a228f91c9c60302fbd20 /src/ex_cmds.c | |
parent | d388d2ac8bf8c770bf97dc406e99a20ba5104855 (diff) |
patch 7.4.1955v7.4.1955
Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption.
(Christian Brabandt)
Solution: Use time_T instead of time_t for global variables. (Ken Takata)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index aff2bddcae..f58bad7be1 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2850,7 +2850,7 @@ write_viminfo_barlines(vir_T *virp, FILE *fp_out) * Return the current time in seconds. Calls time(), unless test_settime() * was used. */ - time_t + time_T vim_time(void) { # ifdef FEAT_EVAL |