diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-14 19:37:32 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-15 03:38:20 +0000 |
commit | 0be9e7d3da4c1082d9ef0e91420d1f00ee47a18b (patch) | |
tree | 56ae4c142f255a4dbae5a36899dfa2f16fad2a0f /epan/dissectors/packet-lldp.c | |
parent | 3428361a262c0858662c475a184b5e72376008ad (diff) |
0.0 is a double, 0.0f is a float.
Change-Id: I882bbda2c579cfd7a1b96ce190541262193405e0
Reviewed-on: https://code.wireshark.org/review/5320
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-lldp.c')
-rw-r--r-- | epan/dissectors/packet-lldp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c index 513a1e4fb3..0b81485732 100644 --- a/epan/dissectors/packet-lldp.c +++ b/epan/dissectors/packet-lldp.c @@ -3078,7 +3078,7 @@ dissect_hytec_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint proto_tree *hytec_data = NULL; proto_item *tf = NULL; proto_item *tlm, *group_proto_item, *identifier_proto_item; - float float_value = 0.0; + float float_value = 0.0f; subtype = tvb_get_guint8(tvb, offset); proto_tree_add_uint(tree, hf_hytec_tlv_subtype, tvb, offset, 1, subtype); |