forked from osmocom/wireshark
From Michal Labedzki:
Fix casting to make compilator happy again. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7639 svn path=/trunk/; revision=44833
This commit is contained in:
parent
43804346a1
commit
d94a139780
|
@ -289,7 +289,7 @@ display_unicode_string(tvbuff_t *tvb, proto_tree *tree, int offset, char **data)
|
|||
}
|
||||
*p = '\0';
|
||||
|
||||
if (!is_ascii_str(str, len/2)) {
|
||||
if (!is_ascii_str((const guint8 *) str, len / 2)) {
|
||||
*str = '\0';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue