aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-15 00:29:38 -0800
committerAnders Broman <a.broman58@gmail.com>2016-12-15 11:52:49 +0000
commitc65e5851b2eef0ef99e4cb9388eb780cd6a87aa7 (patch)
tree520a23ea24e98df2822b2b5b2f1b9975f4e87d12 /epan/dissectors/packet-rtp.h
parente6a9877c7177978ff655d6f61d7540fb835ea165 (diff)
Make some items that don't need to be size_t guint.
Those sizes are limited by the packet sizes we support, and we only support a maximum packet size of 2^32. This squelches some compiler warnings. Remove some casts that this renders unnecessary. Change-Id: Id9a7bcf8c2ce30bbed7be6c0e28deb9cf38002e0 Reviewed-on: https://code.wireshark.org/review/19279 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rtp.h')
-rw-r--r--epan/dissectors/packet-rtp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtp.h b/epan/dissectors/packet-rtp.h
index b695c3a6a2..6513016e18 100644
--- a/epan/dissectors/packet-rtp.h
+++ b/epan/dissectors/packet-rtp.h
@@ -42,8 +42,8 @@ struct _rtp_info {
guint32 info_sync_src;
guint info_data_len; /* length of raw rtp data as reported */
gboolean info_all_data_present; /* FALSE if data is cut off */
- size_t info_payload_offset; /* start of payload relative to info_data */
- size_t info_payload_len; /* length of payload (incl padding) */
+ guint info_payload_offset; /* start of payload relative to info_data */
+ guint info_payload_len; /* length of payload (incl padding) */
gboolean info_is_srtp;
guint32 info_setup_frame_num; /* the frame num of the packet that set this RTP connection */
const guint8* info_data; /* pointer to raw rtp data */