char *attr_name = (char *) tvb_get_string_enc(wmem_packet_scope(), tvb, offset + 1 + 1 + clen + 1, alen, ENC_ASCII|ENC_NA);
col_add_fstr(pinfo->cinfo, COL_INFO, "GetValueByClass: \"%s\" \"%s\"",
- format_text(wmem_packet_scope(), class_name, strlen(class_name)),
- format_text(wmem_packet_scope(), attr_name, strlen(attr_name)));
+ format_text(wmem_packet_scope(), (guchar *) class_name, strlen(class_name)),
+ format_text(wmem_packet_scope(), (guchar *) attr_name, strlen(attr_name)));
/* Dissect IAP query if it is new */
if (iap_conv)
if (have_encoding)
{
name = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, offset, name_len, encoding);
- col_append_fstr(pinfo->cinfo, COL_INFO, ", \"%s\"", format_text(wmem_packet_scope(), name, strlen(name)));
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", \"%s\"", format_text(wmem_packet_scope(), (guchar *) name, strlen(name)));
if (root)
proto_tree_add_item(lmp_tree, hf_lmp_xid_name, tvb, offset,
-1, encoding);
else if (length > 1 && buf[length-2] == '\n')
buf[length-2] = 0;
- col_add_str(pinfo->cinfo, COL_INFO, format_text(wmem_packet_scope(), buf, strlen(buf)));
+ col_add_str(pinfo->cinfo, COL_INFO, format_text(wmem_packet_scope(), (guchar *) buf, strlen(buf)));
}
if (root)