aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dmx-sip.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-01-04 05:22:43 +0000
committerMichael Mann <mmann78@netscape.net>2013-01-04 05:22:43 +0000
commit86d690880fb63891d223aa663ca5901c790b74af (patch)
tree47187c5da15e3c239e9bf40c79601c196ac0f114 /epan/dissectors/packet-dmx-sip.c
parentd36b4c8525161167a32eac3b1feb98f8f5d6184e (diff)
replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned int" instead.
bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928
Diffstat (limited to 'epan/dissectors/packet-dmx-sip.c')
-rw-r--r--epan/dissectors/packet-dmx-sip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dmx-sip.c b/epan/dissectors/packet-dmx-sip.c
index bfb93aa273..74a81b346f 100644
--- a/epan/dissectors/packet-dmx-sip.c
+++ b/epan/dissectors/packet-dmx-sip.c
@@ -67,10 +67,10 @@ static int hf_dmx_sip_trailer = -1;
static int ett_dmx_sip = -1;
static guint8
-dmx_sip_checksum(tvbuff_t *tvb, unsigned length)
+dmx_sip_checksum(tvbuff_t *tvb, guint length)
{
guint8 sum = DMX_SC_SIP;
- unsigned i;
+ guint i;
for (i = 0; i < length; i++)
sum += tvb_get_guint8(tvb, i);
return sum;
@@ -83,9 +83,9 @@ dissect_dmx_sip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_clear(pinfo->cinfo, COL_INFO);
if (tree != NULL) {
- unsigned offset = 0;
- unsigned byte_count;
- unsigned checksum, checksum_shouldbe;
+ guint offset = 0;
+ guint byte_count;
+ guint checksum, checksum_shouldbe;
proto_item *item;
proto_tree *checksum_tree;