diff options
Diffstat (limited to 'epan/dissectors/packet-btbredr_rf.c')
-rw-r--r-- | epan/dissectors/packet-btbredr_rf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-btbredr_rf.c b/epan/dissectors/packet-btbredr_rf.c index 65a2e8dc83..ecf236010e 100644 --- a/epan/dissectors/packet-btbredr_rf.c +++ b/epan/dissectors/packet-btbredr_rf.c @@ -548,13 +548,13 @@ dissect_btbredr_rf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da if ((flags & (FLAGS_SIGNAL_POWER_VALID | FLAGS_NOISE_POWER_VALID)) == (FLAGS_SIGNAL_POWER_VALID | FLAGS_NOISE_POWER_VALID)) { col_append_fstr(pinfo->cinfo, COL_INFO, " (SP: %4i, NP: %4i)", - (gint)(gint8)tvb_get_guint8(tvb, 1), (gint)(gint8)tvb_get_guint8(tvb, 2)); + (gint)tvb_get_gint8(tvb, 1), (gint)tvb_get_gint8(tvb, 2)); } else if (flags & FLAGS_SIGNAL_POWER_VALID) { col_append_fstr(pinfo->cinfo, COL_INFO, " (SP: %4i)", - (gint)(gint8)tvb_get_guint8(tvb, 1)); + (gint)tvb_get_gint8(tvb, 1)); } else if (flags & FLAGS_NOISE_POWER_VALID) { col_append_fstr(pinfo->cinfo, COL_INFO, " (NP: %4i)", - (gint)(gint8)tvb_get_guint8(tvb, 2)); + (gint)tvb_get_gint8(tvb, 2)); } if (flags & FLAGS_PACKET_HEADER_AND_BR_EDR_PAYLOAD_DEWHITENED) |