diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-10 20:27:13 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-10 20:27:13 +0000 |
commit | 713b83f7b406858269863d92865b715470d6335c (patch) | |
tree | 79eb2733939d29388f0776f68da4b053427a61c9 /libtest/callbacks-example-log.c | |
parent | 82e61ae9d68114bdcd6fafdb8bf823ae9ce69bef (diff) |
Added the following compiler flags:
* -Wcast-qual
* -Wmissing-parameter-type
* -Wold-style-definition
Diffstat (limited to 'libtest/callbacks-example-log.c')
-rwxr-xr-x | libtest/callbacks-example-log.c | 6 |
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 */ |