tags 492813 patch
thanks
Hi,
conntrack builds successfully on sparc with the attached patch. I
don't have access to a trusted sparc machine right now, will
build/upload a new package after I get home from Debconf, if nobody
will beat me to it.
Cheers.
--
Jurij Smakov [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
--- conntrack-0.9.7.orig/src/conntrack.c 2008-05-22 12:29:38.000000000 +0000
+++ conntrack-0.9.7/src/conntrack.c 2008-08-14 15:08:04.000000000 +0000
@@ -637,7 +637,7 @@
if (!(output_mask & _O_XML)) {
struct timeval tv;
gettimeofday(&tv, NULL);
- printf("[%-8ld.%-6ld]\t", tv.tv_sec, tv.tv_usec);
+ printf("[%-8ld.%-6ld]\t", (long) tv.tv_sec, (long) tv.tv_usec);
} else
op_flags |= NFCT_OF_TIME;
}