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/globals.h | |
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/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h index f5e1bb1321..f14cb89a92 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1608,7 +1608,7 @@ EXTERN int xsmp_icefd INIT(= -1); /* The actual connection */ #endif /* For undo we need to know the lowest time possible. */ -EXTERN time_t starttime; +EXTERN time_T starttime; #ifdef STARTUPTIME EXTERN FILE *time_fd INIT(= NULL); /* where to write startup timing */ @@ -1640,7 +1640,7 @@ EXTERN int did_add_timer INIT(= FALSE); #endif #ifdef FEAT_EVAL -EXTERN time_t time_for_testing INIT(= 0); +EXTERN time_T time_for_testing INIT(= 0); #endif /* |