freebsd-ports/multimedia/kino/files/patch-az
2004-08-12 23:38:04 +00:00

11 lines
410 B
Text

--- src/filehandler.cc.orig Sun Jul 11 22:00:33 2004
+++ src/filehandler.cc Thu Aug 12 21:07:57 2004
@@ -243,7 +243,7 @@
struct timeval tv;
struct timezone tz;
gettimeofday( &tv, &tz );
- localtime_r( static_cast< const time_t * >( &tv.tv_sec ), &date );
+ localtime_r( (const time_t *)( &tv.tv_sec ), &date );
}
sb << setfill( '0' )
<< setw( 4 ) << date.tm_year + 1900 << '.'