From 970594e453b88a264c2399926b4ed6878caa0595 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Tue, 1 Feb 2005 00:52:38 +0000 Subject: removed MSVC warnings: packet-redback.c(63) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data packet-redback.c(64) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data packet-redback.c(65) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data packet-rmt-fec.c(108) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data svn path=/trunk/; revision=13221 --- epan/dissectors/packet-rmt-fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-rmt-fec.c') diff --git a/epan/dissectors/packet-rmt-fec.c b/epan/dissectors/packet-rmt-fec.c index 6c263c1b8f..bdac471b62 100644 --- a/epan/dissectors/packet-rmt-fec.c +++ b/epan/dissectors/packet-rmt-fec.c @@ -105,7 +105,7 @@ void fec_decode_ext_fti(struct _ext *e, tvbuff_t *tvb, proto_tree *tree, gint et { /* Decode FEC Instance ID */ f.fec->instance_id_present = TRUE; - f.fec->instance_id = tvb_get_ntohs(tvb, e->offset+8); + f.fec->instance_id = (guint8) tvb_get_ntohs(tvb, e->offset+8); } if (tree) -- cgit v1.2.3