$NetBSD: patch-ax,v 1.1 2004/02/07 17:44:10 seb Exp $

--- contrib/trytime/trytime.c.orig	Tue Feb 26 10:21:19 2002
+++ contrib/trytime/trytime.c
@@ -84,21 +84,21 @@ int main ( int ac, char **av )
   if( *soption )
       printf( "Start time was specified as: '%s',\n"
 	      "for me this means: %s (or %ld sec since epoch)\n\n", 
-              soption, tim_b, start_tmp );
+              soption, tim_b, (long) start_tmp );
     else
       printf( "Start time was not specified, default value will be used (end-24h)\n"
 	      "for me this means: %s (or %ld sec since epoch)\n\n",
-	      tim_b, start_tmp );
+	      tim_b, (long)start_tmp );
     
   strftime(tim_b,100,"%c %Z",localtime(&end_tmp));
   if( *eoption )
       printf( "End time was specified as: '%s',\n"
 	      "for me this means: %s (or %ld sec since epoch)\n", 
-              eoption, tim_b, end_tmp );
+              eoption, tim_b, (long)end_tmp );
   else
       printf( "End time was not specified, default value will be used (now)\n"
 	      "for me this means: %s (or %ld sec since epoch)\n\n",
-	      tim_b, end_tmp );
+	      tim_b, (long)end_tmp );
   exit(0);
 }
 
