summaryrefslogtreecommitdiff
path: root/epan/ftypes/ftype-ieee-11073-float.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2017-03-19 20:57:43 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-20 01:28:42 +0000
commitc258b6b0564f3ef211615f8f19d9067a9364bfe6 (patch)
tree2da647baf9a591882e94ac6b89afed494ea908d6 /epan/ftypes/ftype-ieee-11073-float.c
parent01b460fb77ebf8ea697c4a08c9f106ad59df6b0e (diff)
downloadwireshark-c258b6b0564f3ef211615f8f19d9067a9364bfe6.tar.gz
ftypes: move get_value_uinteger into the union
Delete get_value_uinteger from struct _ftype_t, make it part of the get_value union. Change-Id: I4a6c8341676c442e2bf8ae3b8f771b72161d133c Reviewed-on: https://code.wireshark.org/review/20640 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/ftypes/ftype-ieee-11073-float.c')
-rw-r--r--epan/ftypes/ftype-ieee-11073-float.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/ftypes/ftype-ieee-11073-float.c b/epan/ftypes/ftype-ieee-11073-float.c
index 2cb7384a82..bbe5ece88c 100644
--- a/epan/ftypes/ftype-ieee-11073-float.c
+++ b/epan/ftypes/ftype-ieee-11073-float.c
@@ -1439,10 +1439,9 @@ Example: 114 is 0x0072
sfloat_ieee_11073_val_repr_len, /* len_string_repr */
{ .set_value_uinteger = sfloat_ieee_11073_value_set }, /* union set_value */
- { NULL }, /* union get_value */
+ { .get_value_uinteger = sfloat_ieee_11073_value_get }, /* union get_value */
NULL, /* get_value_ptr */
- sfloat_ieee_11073_value_get, /* get_value_uinteger */
sfloat_ieee_11073_cmp_eq,
sfloat_ieee_11073_cmp_ne,
@@ -1498,10 +1497,9 @@ Example: 36.4 is 0xFF00016C
float_ieee_11073_val_repr_len, /* len_string_repr */
{ .set_value_uinteger = float_ieee_11073_value_set }, /* union set_value */
- { NULL }, /* union get_value */
+ { .get_value_uinteger = float_ieee_11073_value_get }, /* union get_value */
NULL, /* get_value_ptr */
- float_ieee_11073_value_get, /* get_value_uinteger */
float_ieee_11073_cmp_eq,
float_ieee_11073_cmp_ne,