aboutsummaryrefslogtreecommitdiffstats
path: root/packet-iax2.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-30 18:47:27 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-30 18:47:27 +0000
commit3c4e72e590ff823c8e0e01bc8f088b47084cf1c5 (patch)
tree2c4331f50cbe3f366c294ca024837a6fda0c2e39 /packet-iax2.c
parentc6029c079a0c4307fd624e1aa55edb5caa6ebb77 (diff)
remove MSVC warning, as result of arithmetic expression is of type unsigned int,
but function expects guint8 svn path=/trunk/; revision=11286
Diffstat (limited to 'packet-iax2.c')
-rw-r--r--packet-iax2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-iax2.c b/packet-iax2.c
index 7db74f8776..c50106eef7 100644
--- a/packet-iax2.c
+++ b/packet-iax2.c
@@ -8,7 +8,7 @@
* IAX2 is a VoIP protocol for the open source PBX Asterisk. Please see
* http://www.asterisk.org for more information.
*
- * $Id: packet-iax2.c,v 1.7 2004/06/25 06:31:46 sahlberg Exp $
+ * $Id: packet-iax2.c,v 1.8 2004/06/30 18:47:27 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1249,7 +1249,7 @@ dissect_fullpacket (tvbuff_t * tvb, guint32 offset,
case AST_FRAME_VIDEO:
/* bit 6 of the csub is used to represent the rtp 'marker' bit */
rtp_marker = csub & 0x40 ? TRUE:FALSE;
- iax_packet -> codec = codec = uncompress_subclass(csub & ~40);
+ iax_packet -> codec = codec = uncompress_subclass((guint8) (csub & ~40));
if( packet_type_tree ) {
proto_tree_add_item (packet_type_tree, hf_iax2_video_csub, tvb, offset+9, 1, FALSE);