$OpenBSD: patch-src_ppm_c,v 1.1 2008/02/12 14:13:32 rui Exp $
--- src/ppm.c.orig	Mon Aug 20 19:25:02 2007
+++ src/ppm.c	Mon Nov 19 22:39:12 2007
@@ -360,7 +360,7 @@ void ppm_rule_log( UINT64 pktcnt, Packet * p)
         if( ppm_cfg.rule_log & PPM_LOG_MESSAGE )
         {
             if(!*timestamp)
-                ts_print((struct timeval*)&p->pkth->ts, timestamp);
+                ts_print((struct timeval32*)&p->pkth->ts, timestamp);
 
             LogMessage(PPM_FMT_REENABLED,
                 otn->sigInfo.generator,
@@ -423,7 +423,7 @@ void ppm_rule_log( UINT64 pktcnt, Packet * p)
         if( ppm_cfg.rule_log & PPM_LOG_MESSAGE )
         {
             if(!*timestamp)
-                ts_print((struct timeval*)&p->pkth->ts, timestamp);
+                ts_print((struct timeval32*)&p->pkth->ts, timestamp);
 
             LogMessage(PPM_FMT_SUSPENDED,
                 otn->sigInfo.generator,
