diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-01 00:52:38 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-02-01 00:52:38 +0000 |
commit | d11b5f811618b06a9b13cb28ddf5729c91c7ebb6 (patch) | |
tree | 827d069140778af4f8c1c3f3af50ebffd040cee2 /epan/dissectors/packet-rmt-fec.c | |
parent | 23e5f29a99f0be64d2b9b46359ac109983d58d8e (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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13221 f5534014-38df-0310-8fa8-9805f1628bb7
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) |