pkgsrc/comms/fidogate/patches/patch-am

29 lines
1.1 KiB
Text

$NetBSD: patch-am,v 1.4 2001/03/19 13:23:36 dmcmahill Exp $
alpha fixes...
--- src/common/tick.c.orig Fri Jan 28 17:01:11 2000
+++ src/common/tick.c Mon Mar 19 07:47:47 2001
@@ -121,5 +121,5 @@
fprintf(fp, "Created %s\r\n", tic->created);
fprintf(fp, "Size %lu\r\n", tic->size);
- fprintf(fp, "Date %ld\r\n", tic->date);
+ fprintf(fp, "Date %ld\r\n", (long) tic->date);
for(pl=tic->path.first; pl; pl=pl->next)
fprintf(fp, "Path %s\r\n", pl->line);
@@ -279,6 +279,6 @@
debug(lvl, "Seenby : %s", znfp1(&p->node));
debug(lvl, "Pw : %s", tic->pw);
- debug(lvl, "Release : %ld", tic->release);
- debug(lvl, "Date : %ld", tic->date);
+ debug(lvl, "Release : %ld", (long) tic->release);
+ debug(lvl, "Date : %ld", (long) tic->date);
for(pl=tic->app.first; pl; pl=pl->next)
debug(lvl, "App : %s", pl->line);
@@ -368,5 +368,5 @@
now = time(NULL);
tl_appendf(&tic->path, "%s %ld %s",
- znf1(cf_addr()), now, date(DATE_TICK_PATH, &now));
+ znf1(cf_addr()), (long) now, date(DATE_TICK_PATH, &now));
}