From a0a0556993247a34946b758156bc938b31c59551 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Mon, 23 Mar 2015 04:32:45 +0000 Subject: [PATCH] 2015-02-25 Chris Allegretta * src/text.c (do_alt_speller): timestamp can just be a __time_t. Fixes compilation on win32. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5153 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 4 ++++ src/text.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88d1d5bb..06d0b36a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-02-25 Chris Allegretta + * src/text.c (do_alt_speller): timestamp can just be a __time_t. + Fixes compilation on win32. + GNU nano 2.4.0 - 2015.03.22 2015-03-22 Benno Schulenberg * src/chars.c (move_mbleft): Start looking for a multibyte char diff --git a/src/text.c b/src/text.c index 4195129b..4495c467 100644 --- a/src/text.c +++ b/src/text.c @@ -2664,7 +2664,7 @@ const char *do_alt_speller(char *tempfile_name) ssize_t current_y_save = openfile->current_y; ssize_t lineno_save = openfile->current->lineno; struct stat spellfileinfo; - __time_t timestamp; + time_t timestamp; pid_t pid_spell; char *ptr; static int arglen = 3; -- 2.39.5