Simply use %c for printing char.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 5 Nov 2010 09:59:40 +0000 (09:59 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 5 Nov 2010 09:59:40 +0000 (09:59 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34789 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/gryphon/packet-gryphon.c

index 28e0a753269597d424115cfd0c8158c129e0467a..4f139e3cf4cbcf5bf9c32876309d11782b55f279 100644 (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);