dect
/
libpcap
Archived
13
0
Fork 0

Squelch a (valid) compiler warning.

This commit is contained in:
guy 2004-12-27 01:12:17 +00:00
parent b3a008a463
commit 54b7cfbafb
1 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.119 2004-12-18 08:52:11 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.120 2004-12-27 01:12:17 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -715,7 +715,8 @@ pcap_fopen_offline(FILE *fp, char *errbuf)
} else {
snprintf(errbuf, PCAP_ERRBUF_SIZE,
"truncated dump file; tried to read %lu file header bytes, only got %lu",
sizeof(hdr), (unsigned long)amt_read);
(unsigned long)sizeof(hdr),
(unsigned long)amt_read);
}
goto bad;
}