diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-08-07 08:39:09 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-08-07 16:45:58 +0000 |
commit | 147ab19f08cc47318cf032d23786b462872f3aa5 (patch) | |
tree | e8d1eb609a392b8a1e7b53a83a988c0374ebe2c4 /epan/stat_tap_ui.h | |
parent | c90fcba042bf90d2c01d51e82671ce102612cf66 (diff) |
Switch the floats in stat_tap table items to doubles.
Use doubles instead of floats in stat_tap_table_item_type. This should
make stat taps easier to use with a lot of our API (e.g. nstime) along
with Qt and the C math library.
This reverts commit 5bbb6ff5e43511ddc57b0b771f3d60da1eb82c02.
Change-Id: I113b44fb944a883cde016b7a8961597658be4c0a
Reviewed-on: https://code.wireshark.org/review/9912
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Diffstat (limited to 'epan/stat_tap_ui.h')
-rw-r--r-- | epan/stat_tap_ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h index 4f1c99e7c4..437bcbcda4 100644 --- a/epan/stat_tap_ui.h +++ b/epan/stat_tap_ui.h @@ -84,7 +84,7 @@ typedef struct _stat_tap_table_item_type guint uint_value; gint int_value; const char* string_value; - gfloat float_value; + double float_value; gint enum_value; } value; /* Scratch space for the dissector. Alternatively we could also add support @@ -94,7 +94,7 @@ typedef struct _stat_tap_table_item_type guint uint_value; gint int_value; const char* string_value; - gfloat float_value; + double float_value; gint enum_value; void* ptr_value; } user_data; |