Wireshark-bugs: [Wireshark-bugs] [Bug 2822] Unusual use of a Boolean (Lint warning 514)

Date: Thu, 21 Aug 2008 12:43:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2822





--- Comment #4 from Bill Meier <wmeier@xxxxxxxxxxx>  2008-08-21 12:43:58 PDT ---
(In reply to comment #3)
> Bill, I copied the original line then mistakenly deleted the extra & from both
> the original line and the "should be" line.  The following is the original as
> noted in comment #1.
> 
> > hash=((key->sesid>>32)&&0xffffffff)+((key->sesid)&&0xffffffff);
> 

I didn't express myself clearly: I understood and made the && --> & change.  :)

The comment was with respect to adding the (guint32)  cast. 


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.