aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btl2cap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2020-07-07 14:36:50 +0200
committerAnders Broman <a.broman58@gmail.com>2020-07-07 18:42:07 +0000
commit1484c1e7f6df5a02ef15c9801ef5d1d13a8ae078 (patch)
treec6d20f8b275909329ee8800b735469d5fffd725f /epan/dissectors/packet-btl2cap.c
parente9a21e9f41bea590a71611c0e9f4c5402a0dc54e (diff)
Fix Wpointer-sign warnings.
Change-Id: Ia51998293b967f363856d2b9ac92f498a9f54d76 Reviewed-on: https://code.wireshark.org/review/37769 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-btl2cap.c')
-rw-r--r--epan/dissectors/packet-btl2cap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-btl2cap.c b/epan/dissectors/packet-btl2cap.c
index df570e3cfb..8aff559533 100644
--- a/epan/dissectors/packet-btl2cap.c
+++ b/epan/dissectors/packet-btl2cap.c
@@ -1980,7 +1980,7 @@ dissect_b_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
uuid.data[1] = bt_uuid & 0xFF;
if (bt_uuid && p_get_proto_data(pinfo->pool, pinfo, proto_bluetooth, PROTO_DATA_BLUETOOTH_SERVICE_UUID) == NULL) {
- guint8 *value_data;
+ gchar *value_data;
value_data = wmem_strdup(wmem_file_scope(), print_numeric_uuid(&uuid));
@@ -2097,7 +2097,7 @@ dissect_le_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
uuid.data[1] = bt_uuid & 0xFF;
if (bt_uuid && p_get_proto_data(pinfo->pool, pinfo, proto_bluetooth, PROTO_DATA_BLUETOOTH_SERVICE_UUID) == NULL) {
- guint8 *value_data;
+ gchar *value_data;
value_data = wmem_strdup(wmem_file_scope(), print_numeric_uuid(&uuid));
@@ -2305,7 +2305,7 @@ dissect_i_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
uuid.data[1] = bt_uuid & 0xFF;
if (bt_uuid && p_get_proto_data(pinfo->pool, pinfo, proto_btl2cap, PROTO_DATA_BLUETOOTH_SERVICE_UUID) == NULL) {
- guint8 *value_data;
+ gchar *value_data;
value_data = wmem_strdup(wmem_file_scope(), print_numeric_uuid(&uuid));
@@ -2664,7 +2664,7 @@ dissect_btl2cap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
uuid.data[1] = bt_uuid & 0xFF;
if (bt_uuid && p_get_proto_data(pinfo->pool, pinfo, proto_bluetooth, PROTO_DATA_BLUETOOTH_SERVICE_UUID ) == NULL) {
- guint8 *value_data;
+ gchar* value_data;
value_data = wmem_strdup(wmem_file_scope(), print_numeric_uuid(&uuid));