diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-02-01 00:52:38 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-02-01 00:52:38 +0000 |
commit | 970594e453b88a264c2399926b4ed6878caa0595 (patch) | |
tree | 827d069140778af4f8c1c3f3af50ebffd040cee2 /epan/dissectors/packet-rmt-fec.c | |
parent | 89ee9a7290103304cc780a31a6712d7fa94496e3 (diff) |
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
Diffstat (limited to 'epan/dissectors/packet-rmt-fec.c')
-rw-r--r-- | epan/dissectors/packet-rmt-fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |