aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index d91a48fe35..9427565f13 100644
--- a/file.c
+++ b/file.c
@@ -1373,7 +1373,7 @@ merge_callback(merge_event event, int num _U_,
cf_status_t
cf_merge_files_to_tempfile(gpointer pd_window, char **out_filenamep,
- int in_file_count, char *const *in_filenames,
+ int in_file_count, const char *const *in_filenames,
int file_type, gboolean do_append)
{
int err = 0;
@@ -1393,7 +1393,7 @@ cf_merge_files_to_tempfile(gpointer pd_window, char **out_filenamep,
/* merge the files */
status = merge_files_to_tempfile(out_filenamep, "wireshark", file_type,
- (const char *const *) in_filenames,
+ in_filenames,
in_file_count, do_append,
IDB_MERGE_MODE_ALL_SAME, 0 /* snaplen */,
"Wireshark", &cb, &err, &err_info,