diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-03-20 11:58:29 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-03-20 11:58:29 +0000 |
commit | 456c7c2dc61c0dbd912667739a9a6fb23ca3e93f (patch) | |
tree | bfbd78bd1c294c33a6e1eacbfc8ef9ae016ab78f /wiretap | |
parent | 148c8a3a3038a88114ba03e7d1e29280af168e3e (diff) |
Try to make the buildbot happy.
svn path=/trunk/; revision=41684
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/pcapng.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/wiretap/pcapng.c b/wiretap/pcapng.c index 4706a717c3..d9bc4aa8c2 100644 --- a/wiretap/pcapng.c +++ b/wiretap/pcapng.c @@ -2881,27 +2881,27 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_ options_total_length = options_total_length + 8 + 4 /* options tag */ ; } /*guint64 isb_ifrecv */ - if (if_stats->isb_ifrecv != -1) { + if (if_stats->isb_ifrecv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { have_options = TRUE; options_total_length = options_total_length + 8 + 4 /* options tag */ ; } /*guint64 isb_ifdrop */ - if (if_stats->isb_ifdrop != -1) { + if (if_stats->isb_ifdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { have_options = TRUE; options_total_length = options_total_length + 8 + 4 /* options tag */ ; } /*guint64 isb_filteraccept */ - if (if_stats->isb_filteraccept != -1) { + if (if_stats->isb_filteraccept != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { have_options = TRUE; options_total_length = options_total_length + 8 + 4 /* options tag */ ; } /*guint64 isb_osdrop */ - if (if_stats->isb_osdrop != -1) { + if (if_stats->isb_osdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { have_options = TRUE; options_total_length = options_total_length + 8 + 4 /* options tag */ ; } /*guint64 isb_usrdeliv */ - if (if_stats->isb_usrdeliv != -1) { + if (if_stats->isb_usrdeliv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { have_options = TRUE; options_total_length = options_total_length + 8 + 4 /* options tag */ ; } @@ -2980,7 +2980,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_ wdh->bytes_dumped += 8; } /*guint64 isb_ifrecv;*/ - if (if_stats->isb_ifrecv != -1) { + if (if_stats->isb_ifrecv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { option_hdr.type = ISB_IFRECV; option_hdr.value_length = 8; if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) @@ -2994,7 +2994,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_ wdh->bytes_dumped += 8; } /*guint64 isb_ifdrop;*/ - if (if_stats->isb_ifdrop != -1) { + if (if_stats->isb_ifdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { option_hdr.type = ISB_IFDROP; option_hdr.value_length = 8; if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) @@ -3008,7 +3008,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_ wdh->bytes_dumped += 8; } /*guint64 isb_filteraccept;*/ - if (if_stats->isb_filteraccept != -1) { + if (if_stats->isb_filteraccept != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { option_hdr.type = ISB_FILTERACCEPT; option_hdr.value_length = 8; if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) @@ -3022,7 +3022,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_ wdh->bytes_dumped += 8; } /*guint64 isb_osdrop;*/ - if (if_stats->isb_osdrop != -1) { + if (if_stats->isb_osdrop != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { option_hdr.type = ISB_OSDROP; option_hdr.value_length = 8; if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) @@ -3036,7 +3036,7 @@ pcapng_write_interface_statistics_block(wtap_dumper *wdh, wtapng_if_stats_t *if_ wdh->bytes_dumped += 8; } /*guint64 isb_usrdeliv;*/ - if (if_stats->isb_usrdeliv != -1) { + if (if_stats->isb_usrdeliv != G_GUINT64_CONSTANT(0xFFFFFFFFFFFFFFFF)) { option_hdr.type = ISB_USRDELIV; option_hdr.value_length = 8; if (!wtap_dump_file_write(wdh, &option_hdr, 4, err)) |