For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-image-png.c
index 781b86dc80a114e4c058a01ef5e498672d53fc9c..6678aac1eb064f355e3a034b5bac6f0311769e23 100644 (file)
@@ -236,7 +236,7 @@ dissect_png(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        col_append_str(pinfo->cinfo, COL_INFO, " (PNG)");
 
        if(parent_tree){
-               ti=proto_tree_add_item(parent_tree, proto_png, tvb, offset, -1, FALSE);
+               ti=proto_tree_add_item(parent_tree, proto_png, tvb, offset, -1, ENC_NA);
                tree=proto_item_add_subtree(ti, ett_png);
        }