diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-30 18:59:02 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-30 18:59:02 +0000 |
commit | 91bc396178bde0bdfa967772d5ce44a6961ab522 (patch) | |
tree | ade550f23044e4f8542f585ae6883bbce2a9d1e1 /src | |
parent | d3fdbe48ae12e5d3a8c2fe28b813825892c1fd8a (diff) |
remove unnecessary typecast, otherwise triggering compiler warning:
dereferencing type-punned pointer will break strict-aliasing rules
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index a85b16d6d..e90cb3629 100644 --- a/src/main.c +++ b/src/main.c @@ -4500,7 +4500,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[]) my_setopt(curl, CURLOPT_TCP_NODELAY, 1); /* where to store */ - my_setopt(curl, CURLOPT_WRITEDATA, (FILE *)&outs); + my_setopt(curl, CURLOPT_WRITEDATA, &outs); /* what call to write */ my_setopt(curl, CURLOPT_WRITEFUNCTION, my_fwrite); |