For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
[obnox/wireshark/wip.git] / epan / dissectors / packet-gdsdb.c
index 18d8cbf887d65df0229387ea69ebbd00ac9fda2a..796316b6af5e9dc5aa71daa08a3447fbbccae6e4 100644 (file)
@@ -1247,7 +1247,7 @@ dissect_gdsdb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        gdsdb_tree = NULL; /* So the opcode functions can check on if(tree) */
        nopi.cinfo = NULL;
 
-       if (tvb_length(tvb) < 4) 
+       if (tvb_length(tvb) < 4)
                return 0;
 
        opcode = tvb_get_ntohl(tvb, 0);
@@ -1264,7 +1264,7 @@ dissect_gdsdb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        if (tree) {
                ti = proto_tree_add_item(tree, proto_gdsdb, tvb, 0, -1,
-                                                                  FALSE);
+                                                                  ENC_NA);
                gdsdb_tree = proto_item_add_subtree(ti, ett_gdsdb);
                proto_tree_add_item(gdsdb_tree, hf_gdsdb_opcode, tvb,
                                                        0, 4, ENC_BIG_ENDIAN);