aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-03 18:54:15 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-04 03:00:12 +0000
commitb49e20c10af2fd1d21f8b8399db3fe4ffd6366df (patch)
treef60a84a98f612ff765f490ae3aee25a11ee92f8b
parent39840d70926c76b394a51659e2a9001ec430d131 (diff)
Remove unnecessary cast (gchar = char) that removes const.
Change-Id: I3924c2b4a525c0ae5ab57b7f9867296586d78509 Reviewed-on: https://code.wireshark.org/review/19061 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--wiretap/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/merge.c b/wiretap/merge.c
index 38ceed29d5..a1b9f7ef8c 100644
--- a/wiretap/merge.c
+++ b/wiretap/merge.c
@@ -426,7 +426,7 @@ create_shb_header(const merge_in_file_t *in_files, const guint in_file_count,
*/
wtap_block_remove_option(shb_hdr, OPT_SHB_OS);
}
- wtap_block_set_string_option_value(shb_hdr, OPT_SHB_USERAPPL, (char*)app_name, app_name ? strlen(app_name): 0 ); /* NULL if not available, UTF-8 string containing the name */
+ wtap_block_set_string_option_value(shb_hdr, OPT_SHB_USERAPPL, app_name, app_name ? strlen(app_name): 0 ); /* NULL if not available, UTF-8 string containing the name */
/* of the application used to create this section. */
return shb_hdrs;