diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-01-03 17:42:36 +0100 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-03 23:36:20 +0000 |
commit | ce52cf4f8fc42c8d127bc9358030e26ffb1f184f (patch) | |
tree | 22f81b8715d6da42f9730fec253f79378eeae7c5 /sharkd_session.c | |
parent | 14c61f14fce12b4e0616927c7646254fe951a336 (diff) |
sharkd: remove redundant cast.
Found by clang-tidy.
Change-Id: Ie02a77ffc17050743de216594d40faa65e1dabc2
Reviewed-on: https://code.wireshark.org/review/31336
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'sharkd_session.c')
-rw-r--r-- | sharkd_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sharkd_session.c b/sharkd_session.c index af4f9bdd52..010a543c23 100644 --- a/sharkd_session.c +++ b/sharkd_session.c @@ -1082,7 +1082,7 @@ sharkd_session_process_tap_stats_node_cb(const stat_node *n) else sharkd_json_value_anyf(TRUE, "burstrate", "%.4f", ((double)node->max_burst) / prefs.st_burst_windowlen); - sharkd_json_value_anyf(TRUE, "bursttime", "%.3f", ((double)node->burst_time / 1000.0)); + sharkd_json_value_anyf(TRUE, "bursttime", "%.3f", (node->burst_time / 1000.0)); } if (node->children) |