Wireshark-bugs: [Wireshark-bugs] [Bug 4955] Capture stops when built with zlib support

Date: Sat, 17 Jul 2010 15:13:56 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4955

--- Comment #9 from Guy Harris <guy@xxxxxxxxxxxx> 2010-07-17 15:13:54 PDT ---
Lines 1972 through 1976 in the top of the trunk, the 1.4 branch, and the
tarball to which Gerald referred are

static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo,
proto_tree *tree,
                                   proto_item *pdu_ti,
                                   volatile int offset, guint8 direction,
                                   mac_lte_info *p_mac_lte_info,
mac_lte_tap_info *tap_info,
                                   proto_item *retx_ti)

Unless I'm misremembering the ANSI C standard, the "volatile" there should be
sufficient to keep the compiler from issuing the complaint in question, unless
the compiler is buggy.

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