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:
Anders Broman 2012-09-10 11:49:01 +00:00
parent 43804346a1
commit d94a139780
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}