From: Yang Tse Date: Tue, 30 Sep 2008 18:59:02 +0000 (+0000) Subject: remove unnecessary typecast, otherwise triggering compiler warning: X-Git-Tag: curl-7_19_1~246 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91bc396178bde0bdfa967772d5ce44a6961ab522;p=thirdparty%2Fcurl.git remove unnecessary typecast, otherwise triggering compiler warning: dereferencing type-punned pointer will break strict-aliasing rules --- diff --git a/src/main.c b/src/main.c index a85b16d6dd..e90cb36294 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);