Wireshark-commits: [Wireshark-commits] master a6f4bdb: pcap-common: fix build error with gcc5

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 24 Feb 2015 00:26:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a6f4bdb874169b7ac6564fa5c17be95fed0aa8ef
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a6f4bdb by Daniel Mack (daniel@xxxxxxxxxx):

    pcap-common: fix build error with gcc5
    
    gcc5 complains about the issue below, so add a trivial fixup.
    
      CC       libwiretap_la-pcap-common.lo
    pcap-common.c: In function 'pcap_byteswap_nflog_pseudoheader':
    pcap-common.c:1290:30: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
      if (!(nfhdr->nflog_version) == 0) {
                                  ^
    cc1: all warnings being treated as errors
    
    Change-Id: I9f5b090ffd564f203cc3fb4ff302f2e4752865f0
    Reviewed-on: https://code.wireshark.org/review/7336
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5e34492   BSSMAP: VGCS/VBS Assignment Request wrong first parameter
    adds  a6f4bdb   pcap-common: fix build error with gcc5


Summary of changes:
 wiretap/pcap-common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)