X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwin32_apply.c;h=00ace99e7243963e8bf7dddcf1a6c4d2f861e2b6;hp=bce897a46344860ed42ce0b82b6ef086140b81c9;hb=962cca1a6f9e45827006a745be086b7af3b725aa;hpb=ca1be480fd209d8c24e19350e440c01832310a2d diff --git a/src/win32_apply.c b/src/win32_apply.c index bce897a4..00ace99e 100644 --- a/src/win32_apply.c +++ b/src/win32_apply.c @@ -162,19 +162,19 @@ error: } static int -win32_extract_unnamed_stream(const wchar_t *path, +win32_extract_unnamed_stream(file_spec_t file, struct wim_lookup_table_entry *lte, struct apply_ctx *ctx) { - return win32_extract_stream(path, NULL, 0, lte, ctx); + return win32_extract_stream(file.path, NULL, 0, lte, ctx); } static int -win32_extract_named_stream(const wchar_t *path, const wchar_t *stream_name, +win32_extract_named_stream(file_spec_t file, const wchar_t *stream_name, size_t stream_name_nchars, struct wim_lookup_table_entry *lte, struct apply_ctx *ctx) { - return win32_extract_stream(path, stream_name, + return win32_extract_stream(file.path, stream_name, stream_name_nchars, lte, ctx); }