aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-01-03 17:42:21 +0100
committerGuy Harris <guy@alum.mit.edu>2019-01-03 22:10:33 +0000
commit0ed9656b905637435d7b65a8b354891549ae2520 (patch)
treee9c00253a2912a9c3eb5237e19d9bcfe5e6d2617
parentc7ac27b28843e37ea857a41cd25f110baaf2635e (diff)
rawshark: remove redundant cast.
Found by clang-tidy. Change-Id: I50912055e0230173af3a6b008fafb12144b02f8d Reviewed-on: https://code.wireshark.org/review/31335 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>
-rw-r--r--rawshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c
index 81427ff841..2dac7a02b1 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -1188,7 +1188,7 @@ static gboolean print_field_value(field_info *finfo, int cmd_line_index)
case FT_INT56:
case FT_INT64:
DISSECTOR_ASSERT(!hfinfo->bitmask);
- svalue64 = (gint64)fvalue_get_sinteger64(&finfo->value);
+ svalue64 = fvalue_get_sinteger64(&finfo->value);
if (hfinfo->display & BASE_VAL64_STRING) {
g_string_append(label_s, val64_to_str_const(svalue64, (const val64_string *)(hfinfo->strings), "Unknown"));
}