From 6994086ea5312878a67eab4c60f7403230c8469f Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 18 Sep 2000 19:00:40 +0000 Subject: [PATCH] Use time_t instead of long int for mktime() return type. --- tests/test-mktime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5