mirror of
https://github.com/curl/curl.git
synced 2026-05-17 11:56:21 +03:00
remove unnecessary typecast, otherwise triggering compiler warning:
dereferencing type-punned pointer will break strict-aliasing rules
This commit is contained in:
parent
d3fdbe48ae
commit
91bc396178
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue