Simply use %c for printing char.

svn path=/trunk/; revision=34789
This commit is contained in:
Stig Bjørlykke 2010-11-05 09:59:40 +00:00
parent b9f01a15db
commit 1f2f2e918e
1 changed files with 1 additions and 1 deletions

View File

@ -1594,7 +1594,7 @@ cmd_modresp(tvbuff_t *tvb, int offset, proto_tree *pt)
proto_tree_add_text(pt, tvb, offset, 1, "Response handle: %u",
resp_handle);
else if (dest)
proto_tree_add_text(pt, tvb, offset, 1, "Response handles: all on channel %hhd", dest);
proto_tree_add_text(pt, tvb, offset, 1, "Response handles: all on channel %c", dest);
else
proto_tree_add_text(pt, tvb, offset, 1, "Response handles: all");
action = tvb_get_guint8(tvb, offset+1);