Commit 91bc3961 authored by Yang Tse's avatar Yang Tse
Browse files

remove unnecessary typecast, otherwise triggering compiler warning:

dereferencing type-punned pointer will break strict-aliasing rules
parent d3fdbe48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);