diff options
author | 2009-11-30 21:49:37 +0100 | |
---|---|---|
committer | 2009-11-30 21:49:37 +0100 | |
commit | 9155bd34e06af07863b681f7125a51829e622950 (patch) | |
tree | d61e03fb3cf7a49294562fdbd6f52896e7f83e18 /plugins/vfs_curl/vfs_curl.c | |
parent | 7e20827fce4ac2609a834329e16fad363c58a201 (diff) |
sanitized thread_start API
Diffstat (limited to 'plugins/vfs_curl/vfs_curl.c')
-rw-r--r-- | plugins/vfs_curl/vfs_curl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c index 034220e2..fa656a30 100644 --- a/plugins/vfs_curl/vfs_curl.c +++ b/plugins/vfs_curl/vfs_curl.c @@ -307,7 +307,7 @@ http_curl_control (void *stream, double dltotal, double dlnow, double ultotal, d } static void -http_thread_func (uintptr_t ctx) { +http_thread_func (void *ctx) { HTTP_FILE *fp = (HTTP_FILE *)ctx; CURL *curl; curl = curl_easy_init (); @@ -413,7 +413,7 @@ http_thread_func (uintptr_t ctx) { static void http_start_streamer (HTTP_FILE *fp) { fp->mutex = deadbeef->mutex_create (); - fp->tid = deadbeef->thread_start (http_thread_func, (uintptr_t)fp); + fp->tid = deadbeef->thread_start (http_thread_func, fp); } static DB_FILE * |