$OpenBSD: patch-swig_plist_i,v 1.1.1.1 2011/11/15 11:05:22 mpi Exp $ --- swig/plist.i.orig Sat Nov 12 16:48:56 2011 +++ swig/plist.i Sat Nov 12 16:49:33 2011 @@ -34,7 +34,7 @@ } %typemap(out) timeval { - struct tm* t = gmtime ( &$1.tv_sec ); + struct tm* t = gmtime ( (time_t*) &$1.tv_sec ); if (t) { PyDateTime_IMPORT;