]> git.mxchange.org Git - flightgear.git/commitdiff
Use time_t instead of long int for mktime() return type.
authorcurt <curt>
Mon, 18 Sep 2000 19:00:40 +0000 (19:00 +0000)
committercurt <curt>
Mon, 18 Sep 2000 19:00:40 +0000 (19:00 +0000)
tests/test-mktime.cxx

index 9f5d4129ef2f9b8b6a1c741c5d18fd6c07a4b98e..294c00d0d819d98916e5f3a202e5065b3f7483a2 100644 (file)
@@ -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));