aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-08-19 07:03:34 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-08-19 07:03:34 +0000
commitcc73e58f023d22dff9b60bfd4dd4f11c4c212166 (patch)
tree388b9bfafb738ca79c69bd6a2af3dd8e1989bb84 /file.c
parentc898ddde9462591cc16c4d83f852fe73de844c4a (diff)
file.c(3079) : warning C4090: 'function' : different 'const' qualifiers
file.c(3079) : warning C4022: 'cf_callback_invoke' : pointer mismatch for actual parameter 2 svn path=/trunk/; revision=15418
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 e79b8e3aaa..d14ce5cde6 100644
--- a/file.c
+++ b/file.c
@@ -3076,7 +3076,7 @@ cf_save(capture_file *cf, const char *fname, packet_range_t *range, guint save_f
wtap_dumper *pdh;
save_callback_args_t callback_args;
- cf_callback_invoke(cf_cb_file_safe_started, fname);
+ cf_callback_invoke(cf_cb_file_safe_started, (gpointer) fname);
/* don't write over an existing file. */
/* this should've been already checked by our caller, just to be sure... */