Wireshark-commits: [Wireshark-commits] master-1.10 590bda3: epan: fix build error with gcc5

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

Commits:

590bda3 by Daniel Mack (daniel@xxxxxxxxxx):

    epan: fix build error with gcc5
    
    gcc5 bails out with the below error.
    
      CC       libwireshark_la-tvbparse.lo
      CC       libwireshark_la-tvbuff_base64.lo
    tvbparse.c: In function 'cond_not_char':
    tvbparse.c:254:18: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
         if (! offset < tt->end_offset ) {
                      ^
    cc1: all warnings being treated as errors
    Makefile:1843: recipe for target 'libwireshark_la-tvbparse.lo' failed
    
    Change-Id: I4e8654e97079da6b39be580fc766eecefb4c7ea6
    Reviewed-on: https://code.wireshark.org/review/7339
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit b125feae219aaa7afcd10a96a50863cdd83f5bd2)
    Reviewed-on: https://code.wireshark.org/review/7342
    

Actions performed:

    from  a404c6a   [Automatic manuf, services and enterprise-numbers update for 2015-02-22]
    adds  590bda3   epan: fix build error with gcc5


Summary of changes:
 epan/tvbparse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)