$OpenBSD: patch-psys_src_lunix_pas_c,v 1.2 2010/05/09 17:18:53 espie Exp $ --- psys/src/lunix_pas.c.orig Wed Mar 12 23:47:35 2003 +++ psys/src/lunix_pas.c Sun May 9 19:11:21 2010 @@ -17,7 +17,7 @@ Void lunix_intToDate (long idate, daterec *date, timer { struct tm *temp_tm; - temp_tm = localtime(&idate); + temp_tm = localtime((time_t *)&idate); date->year = temp_tm->tm_year; date->day = temp_tm->tm_mday; date->month = temp_tm->tm_mon + 1;