summaryrefslogtreecommitdiff
path: root/libtest/callbacks-example-log.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-06-10 20:27:13 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-06-10 20:27:13 +0000
commit713b83f7b406858269863d92865b715470d6335c (patch)
tree79eb2733939d29388f0776f68da4b053427a61c9 /libtest/callbacks-example-log.c
parent82e61ae9d68114bdcd6fafdb8bf823ae9ce69bef (diff)
Added the following compiler flags:
* -Wcast-qual * -Wmissing-parameter-type * -Wold-style-definition
Diffstat (limited to 'libtest/callbacks-example-log.c')
-rwxr-xr-xlibtest/callbacks-example-log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtest/callbacks-example-log.c b/libtest/callbacks-example-log.c
index d7d1465..94f0332 100755
--- a/libtest/callbacks-example-log.c
+++ b/libtest/callbacks-example-log.c
@@ -100,9 +100,9 @@ EXTERNAL_FUNCTION int hts_plug(httrackp * opt, const char *argv) {
if (arg == NULL)
arg = "log-wrapper-info";
hts_log(opt, arg, "* plugging functions");
- CHAIN_FUNCTION(opt, check_html, process_file, (char *) arg);
- CHAIN_FUNCTION(opt, start, start_of_mirror, (char *) arg);
- CHAIN_FUNCTION(opt, end, end_of_mirror, (char *) arg);
+ CHAIN_FUNCTION(opt, check_html, process_file, (void *) (uintptr_t) arg);
+ CHAIN_FUNCTION(opt, start, start_of_mirror, (void *) (uintptr_t) arg);
+ CHAIN_FUNCTION(opt, end, end_of_mirror, (void *) (uintptr_t) arg);
hts_log(opt, arg, "* module successfully plugged");
return 1; /* success */