summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-an
blob: 5fdfc84edf8614f7cb1822d7035983a3ba32208a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-an,v 1.6 2009/12/18 01:09:23 abs Exp $

--- src/tick/ftnhatch.c.orig	2004-08-22 20:19:13.000000000 +0000
+++ src/tick/ftnhatch.c
@@ -99,7 +99,7 @@ int hatch(char *area, char *file, char *
     file_crc  = crc32_file(file_name);
     
     debug(4, "file: name=%s size=%ld time=%ld crc=%08lx",
-	  file_name, file_size, file_time, file_crc);
+	  file_name, file_size, (long) file_time, file_crc);
 
     /*
      * Build Tick struct
@@ -119,7 +119,7 @@ int hatch(char *area, char *file, char *
     tic.created  = CREATOR;
     tic.size     = file_size;
     tl_appendf(&tic.path, "%s %ld %s",
-	       znf1(cf_addr()), now, date(NULL, &now) );
+	       znf1(cf_addr()), (long) now, date(NULL, &now) );
     lon_add(&tic.seenby, cf_addr());
     lon_join(&tic.seenby, &bbs->nodes);
     /* tic.pw set by hatch_one() */