summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-an
blob: 7ed6db6bf1c830240e99bedef1823ebfa44fb8e8 (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.5 2004/08/23 15:18:02 tv Exp $

--- src/tick/ftnhatch.c.orig	2003-02-16 10:39:02.000000000 -0500
+++ 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() */