From 8c3de351b039e67ce203733ce8790490a0774a21 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 18 Sep 2000 17:00:16 +0000 Subject: [PATCH] Use time_t rather than long int as return type for mktime(). --- simgear/timing/sg_time.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index e10400c3..f9467739 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -413,7 +413,7 @@ time_t sgTimeGetGMT(int year, int month, int day, int hour, int min, int sec) # define TIMEZONE_OFFSET_WORKS 1 # endif - long int start = mktime(&mt); + time_t start = mktime(&mt); FG_LOG( FG_EVENT, FG_DEBUG, "start1 = " << start ); // the ctime() call can screw up time progression on some versions -- 2.39.5