opnsense-ports/comms/hcidump/files/patch-parser.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
369 B
C

--- parser/parser.c.ORIG Fri Sep 22 23:33:36 2006
+++ parser/parser.c Fri Sep 22 23:34:45 2006
@@ -65,7 +65,7 @@
if (!parser.state) {
if (parser.flags & DUMP_TSTAMP)
- printf("%8lu.%06lu ", f->ts.tv_sec, f->ts.tv_usec);
+ printf("%8lu.%06lu ", (unsigned long)f->ts.tv_sec, f->ts.tv_usec);
printf("%c ", (f->in ? '>' : '<'));
parser.state = 1;
} else