summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-rtmpt.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-03-23 12:44:50 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-03-23 12:44:50 +0000
commitdf120bc8d2e332370a7e3d058e3b959540126a33 (patch)
tree6d5b212c4723d04dd71ac10e16d4083639650d19 /epan/dissectors/packet-rtmpt.c
parentc11055cda91c3724fa5d76b5eb580eb4b3204048 (diff)
downloadwireshark-df120bc8d2e332370a7e3d058e3b959540126a33.tar.gz
Removed some "initializer does not fit or is out of range" warnings.
svn path=/trunk/; revision=27826
Diffstat (limited to 'epan/dissectors/packet-rtmpt.c')
-rw-r--r--epan/dissectors/packet-rtmpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtmpt.c b/epan/dissectors/packet-rtmpt.c
index b962128a2d..55630a65a0 100644
--- a/epan/dissectors/packet-rtmpt.c
+++ b/epan/dissectors/packet-rtmpt.c
@@ -194,7 +194,7 @@ dissect_rtmpt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
struct tcpinfo* tcpinfo = pinfo->private_data;
static gint iPreviousFrameNumber = -1;
- guint16 iCommand = -1;
+ guint16 iCommand = G_MAXUINT16;
guint16 iLength = 1;
guint16 iHeaderType = 4;
guint16 iHeaderLength;
@@ -391,7 +391,7 @@ get_rtmpt_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
{
guint16 iHeaderType;
guint8 iID;
- guint16 iCommand = -1;
+ guint16 iCommand = G_MAXUINT16;
iID = tvb_get_guint8(tvb, offset + 0);
iHeaderType = iID >> 6;