From 456c7c2dc61c0dbd912667739a9a6fb23ca3e93f Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 20 Mar 2012 11:58:29 +0000 Subject: [PATCH] Try to make the buildbot happy. svn path=/trunk/; revision=41684 --- wiretap/pcapng.c | 20 ++++++++++---------- 1 file 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))