aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtp-midi.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-27 11:48:38 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-27 11:48:38 +0000
commit6734e90b9ce1d47bb04c5917bdca68cf5db8e260 (patch)
treed44a97100f4acca2c2b92c7351fa96d3fe2555f4 /epan/dissectors/packet-rtp-midi.c
parentcb46002a1902162f94f33af22c050c163d11136e (diff)
Try to fix warning: comparison between signed and unsigned.
svn path=/trunk/; revision=41205
Diffstat (limited to 'epan/dissectors/packet-rtp-midi.c')
-rw-r--r--epan/dissectors/packet-rtp-midi.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/epan/dissectors/packet-rtp-midi.c b/epan/dissectors/packet-rtp-midi.c
index 3ec1c41692..dc184f0e41 100644
--- a/epan/dissectors/packet-rtp-midi.c
+++ b/epan/dissectors/packet-rtp-midi.c
@@ -7437,20 +7437,19 @@ dissect_rtp_midi( tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree )
proto_tree *rtp_midi_journal_tree = NULL;
proto_tree *rtp_midi_chanjournals_tree = NULL;
unsigned int offset = 0;
- struct _rtp_conversation_info *p_conv_data = NULL;
guint8 flags; /* used for command-section and journal-section*/
guint8 octet;
- unsigned int cmd_len;
- unsigned int cmd_count;
+ unsigned int cmd_len;
+ unsigned int cmd_count;
guint8 runningstatus;
- unsigned int consumed;
- unsigned int rsoffset;
+ int consumed;
+ unsigned int rsoffset;
guint8 totchan;
- unsigned int i;
+ unsigned int i;
col_set_str( pinfo->cinfo, COL_PROTOCOL, RTP_MIDI_DISSECTOR_SHORTNAME );
col_clear( pinfo->cinfo, COL_INFO );