diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-07-21 17:04:10 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-07-21 17:04:10 +0000 |
commit | 9bed71737ce34b176e8ea673bd4adc4335a34457 (patch) | |
tree | 6f94c49506359c2a58c484a8f62372a3f8d0f157 /epan/dissectors/packet-bootp.c | |
parent | 05f0ad566e8af6f6eede24efe7def857b9ddd454 (diff) |
small warning fixes
svn path=/trunk/; revision=14973
Diffstat (limited to 'epan/dissectors/packet-bootp.c')
-rw-r--r-- | epan/dissectors/packet-bootp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index df02adc5b6..6c99ef1025 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -173,9 +173,9 @@ enum field_type { }; struct opt_info { - char *text; + const char *text; enum field_type ftype; - const void *data; + const void *data; }; static const true_false_string flag_set_broadcast = { @@ -2033,7 +2033,8 @@ dissect_packetcable_mta_cap(proto_tree *v_tree, tvbuff_t *tvb, int voff, int len guint16 raw_val; unsigned long flow_val = 0; int off = PKT_MDC_TLV_OFF + voff; - int tlv_len, i; + guint tlv_len; + int i; guint8 asc_val[3] = " ", flow_val_str[5]; static GString *tlv_str = NULL; char bit_fld[64]; |