From c7a739b2bde36a7be2fc40b38fb5ff138f42b56b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 20 Sep 2016 03:01:20 +0200 Subject: [PATCH] C89_BUILD fix --- tasks/task_decompress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/task_decompress.c b/tasks/task_decompress.c index f41639e177..56736db664 100644 --- a/tasks/task_decompress.c +++ b/tasks/task_decompress.c @@ -169,11 +169,13 @@ static void task_decompress_handler(retro_task_t *task) static void task_decompress_handler_target_file(retro_task_t *task) { bool retdec; + int ret; decompress_state_t *dec = (decompress_state_t*)task->state; struct archive_extract_userdata userdata = {0}; + userdata.archive_path = dec->source_file; - int ret = file_archive_parse_file_iterate(&dec->archive, + ret = file_archive_parse_file_iterate(&dec->archive, &retdec, dec->source_file, dec->valid_ext, file_decompressed_target_file, &userdata);