Print signed values with %d, not %u.

Change-Id: I1ad46df006976c052ff42baf6415e18b488b215f
Reviewed-on: https://code.wireshark.org/review/20780
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2017-03-28 21:16:19 -07:00
parent b56bbb493a
commit 79ba8c3976
1 changed files with 1 additions and 1 deletions

View File

@ -4655,7 +4655,7 @@ proto_tree_add_node(proto_tree *tree, field_info *fi)
tfi = PNODE_FINFO(tnode);
if (tfi != NULL && (tfi->tree_type < 0 || tfi->tree_type >= num_tree_types)) {
REPORT_DISSECTOR_BUG(wmem_strdup_printf(wmem_packet_scope(),
"\"%s\" - \"%s\" tfi->tree_type: %u invalid (%s:%u)",
"\"%s\" - \"%s\" tfi->tree_type: %d invalid (%s:%u)",
fi->hfinfo->name, fi->hfinfo->abbrev, tfi->tree_type, __FILE__, __LINE__));
/* XXX - is it safe to continue here? */
}