diff options
author | Anders Broman <anders.broman@ericsson.com> | 2022-09-07 14:07:47 +0200 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2022-09-07 14:07:47 +0200 |
commit | 625b422edfabb3a0c5d4a1ecd6b56b2698192605 (patch) | |
tree | b595c69cfb6b2f58bbd9b713171dc1e3716f1ae1 /epan/dissectors/packet-ymsg.c | |
parent | 83a0ec0647b171e50a254b5c73b32d3f7a788fb5 (diff) |
Try to fix clang tvb_memeql-warnings
Diffstat (limited to 'epan/dissectors/packet-ymsg.c')
-rw-r--r-- | epan/dissectors/packet-ymsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ymsg.c b/epan/dissectors/packet-ymsg.c index 2440f6c12c..9a762a877d 100644 --- a/epan/dissectors/packet-ymsg.c +++ b/epan/dissectors/packet-ymsg.c @@ -466,7 +466,7 @@ dissect_ymsg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) if (tvb_captured_length(tvb) < 4) { return FALSE; } - if (tvb_memeql(tvb, 0, "YMSG", 4) == -1) { + if (tvb_memeql(tvb, 0, (const guint8*)"YMSG", 4) == -1) { /* Not a Yahoo Messenger packet. */ return FALSE; } |