diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-26 19:33:23 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-26 19:33:23 +0200 |
commit | 6261a865d94f28b2fb6f06716178e22192176e17 (patch) | |
tree | 34bbc4159fdf33a356252bf2b6db8723927b3053 /src | |
parent | 10159b75fe52251bf5a98ded557ea1dda28ac06c (diff) | |
download | pianobar-6261a865d94f28b2fb6f06716178e22192176e17.tar.gz pianobar-6261a865d94f28b2fb6f06716178e22192176e17.tar.bz2 pianobar-6261a865d94f28b2fb6f06716178e22192176e17.zip |
Silence curl's attribute warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index e49e5bb..4d42b91 100644 --- a/src/player.c +++ b/src/player.c @@ -263,7 +263,7 @@ void *BarPlayerThread (void *data) { /* init curl */ curl_easy_setopt (player->audioFd, CURLOPT_URL, player->url); curl_easy_setopt (player->audioFd, CURLOPT_WRITEFUNCTION, BarPlayerCurlCb); - curl_easy_setopt (player->audioFd, CURLOPT_WRITEDATA, player); + curl_easy_setopt (player->audioFd, CURLOPT_WRITEDATA, (void *) player); curl_easy_setopt (player->audioFd, CURLOPT_USERAGENT, PACKAGE_STRING); curl_easy_setopt (player->audioFd, CURLOPT_CONNECTTIMEOUT, 60); |