freebsd-ports/games/battletanks/files/patch-mrt_logger.cpp
Pietro Cerutti 9c55c35b13 - Fix build on 6.3
- UNBREAK

Approved by:	portmgr (linimon)
2008-09-11 08:09:49 +00:00

11 lines
291 B
C++

--- mrt/logger.cpp.orig 2008-09-11 09:12:44.000000000 +0200
+++ mrt/logger.cpp 2008-09-11 09:14:32.000000000 +0200
@@ -81,7 +81,7 @@
gettimeofday(&tv, NULL);
struct tm tm;
- localtime_r(&tv.tv_sec, &tm);
+ localtime_r((time_t *)&tv.tv_sec, &tm);
h = tm.tm_hour;
m = tm.tm_min;