diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-08-09 09:53:24 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-08-09 10:02:38 +0200 |
commit | f773b1c56122feaff9e9ecabbde3326b7c081233 (patch) | |
tree | 62974fbc45b16aee25cbeb09cf967be9d1f58608 /savefile.c | |
parent | d6fd84ee114bf038587a860236176bdc7cf397a3 (diff) | |
download | libpcap-f773b1c56122feaff9e9ecabbde3326b7c081233.tar.gz |
Use %zu as the print format for size_t
C99 support it and also Visual Studio VS 2015 and after.
No more need for PRIsize format.
Diffstat (limited to 'savefile.c')
-rw-r--r-- | savefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -395,7 +395,7 @@ pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision, errno, "error reading dump file"); } else { pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, - "truncated dump file; tried to read %" PRIsize " file header bytes, only got %" PRIsize, + "truncated dump file; tried to read %zu file header bytes, only got %zu", sizeof(magic), amt_read); } return (NULL); |