From Chris Waters: use "proto_tree_add_uint()" for an FT_UINT* field.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 15 Dec 2003 00:08:57 +0000 (00:08 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 15 Dec 2003 00:08:57 +0000 (00:08 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9285 f5534014-38df-0310-8fa8-9805f1628bb7

packet-tzsp.c

index 8833e7a351a446510e0093ae6c2b3b8154ec8c28..c88d6360fb945ed83a73c35db7bba291277303f6 100644 (file)
@@ -1,6 +1,6 @@
 /* packet-tzsp.c
  *
- * $Id: packet-tzsp.c,v 1.4 2003/11/12 21:22:37 guy Exp $
+ * $Id: packet-tzsp.c,v 1.5 2003/12/15 00:08:57 guy Exp $
  *
  * Copyright 2002, Tazmen Technologies Inc
  *
@@ -168,7 +168,7 @@ add_option_info(tvbuff_t *tvb, int pos, proto_tree *tree, proto_item *ti)
                case WLAN_RADIO_HDR_RATE:
                        length = tvb_get_guint8(tvb, pos++);
                        if (tree)
-                               proto_tree_add_int (tree, hf_rate, tvb, pos-2, 3,
+                               proto_tree_add_uint (tree, hf_rate, tvb, pos-2, 3,
                                                        tvb_get_guint8(tvb, pos));
                        pos += length;
                        break;