]> git.mxchange.org Git - simgear.git/blobdiff - simgear/timing/sg_time.cxx
Oops, references to built libs need to be relative to $(top_builddir)
[simgear.git] / simgear / timing / sg_time.cxx
index e10400c3afe2fe5358e8bc7c1be4e61bf16f9c40..f94677390613c064be587c9afec37d2db521b4ec 100644 (file)
@@ -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