aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-01-03 17:41:49 +0100
committerGuy Harris <guy@alum.mit.edu>2019-01-03 23:36:51 +0000
commit58b71c754cdf829f0a33bad94d2fcde6e12c0342 (patch)
treed22c77255f5df4930ccb95eb0241349b847df91d /file.c
parentce52cf4f8fc42c8d127bc9358030e26ffb1f184f (diff)
file: remove redundant cast.
Found by clang-tidy. Change-Id: I58c11e09ed89e99457635dd843311ce3cf3c6bae Reviewed-on: https://code.wireshark.org/review/31334 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 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 8a3b120392..58518d68ac 100644
--- a/file.c
+++ b/file.c
@@ -808,7 +808,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, int *err)
aren't any packets left to read) exit. */
break;
}
- if (read_record(cf, dfcode, &edt, (column_info *) cinfo, data_offset)) {
+ if (read_record(cf, dfcode, &edt, cinfo, data_offset)) {
newly_displayed_packets++;
}
to_read--;