$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() */