From: curt Date: Mon, 18 Sep 2000 19:00:40 +0000 (+0000) Subject: Use time_t instead of long int for mktime() return type. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6994086ea5312878a67eab4c60f7403230c8469f;p=flightgear.git Use time_t instead of long int for mktime() return type. --- diff --git a/tests/test-mktime.cxx b/tests/test-mktime.cxx index 9f5d4129e..294c00d0d 100644 --- a/tests/test-mktime.cxx +++ b/tests/test-mktime.cxx @@ -79,7 +79,7 @@ time_t get_start_gmt(int year) { # define TIMEZONE_OFFSET_WORKS 1 # endif - long int start = mktime(&mt); + time_t start = mktime(&mt); printf("start1 = %ld\n", start); printf("start2 = %s", ctime(&start));