diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-30 21:49:37 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-30 21:49:37 +0100 |
commit | 9155bd34e06af07863b681f7125a51829e622950 (patch) | |
tree | d61e03fb3cf7a49294562fdbd6f52896e7f83e18 /plugins/cdda/cdda.c | |
parent | 7e20827fce4ac2609a834329e16fad363c58a201 (diff) |
sanitized thread_start API
Diffstat (limited to 'plugins/cdda/cdda.c')
-rw-r--r-- | plugins/cdda/cdda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cdda/cdda.c b/plugins/cdda/cdda.c index 4effd077..56dd44a4 100644 --- a/plugins/cdda/cdda.c +++ b/plugins/cdda/cdda.c @@ -298,7 +298,7 @@ insert_single_track (CdIo_t* cdio, DB_playItem_t *after, const char* file, int t } static void -cddb_thread (uintptr_t items_i) +cddb_thread (void *items_i) { struct cddb_thread_params *params = (struct cddb_thread_params*)items_i; DB_playItem_t **items = params->items; @@ -398,7 +398,7 @@ cda_insert (DB_playItem_t *after, const char *fname) { p->items[i] = res; } trace ("cdda: querying freedb...\n"); - deadbeef->thread_start (cddb_thread, (uintptr_t)p); //will destroy cdio + deadbeef->thread_start (cddb_thread, p); //will destroy cdio } else { |