From 378db7c6ab1336ce99136118a9b66901630ffc85 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 5 Mar 2021 17:11:31 +0100 Subject: Cleanup: replace the void-ptr with an inode-ptr in the file tree node Signed-off-by: David Oberhollenzer --- bin/tar2sqfs/process_tarball.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/tar2sqfs/process_tarball.c') diff --git a/bin/tar2sqfs/process_tarball.c b/bin/tar2sqfs/process_tarball.c index 40a8157..1118822 100644 --- a/bin/tar2sqfs/process_tarball.c +++ b/bin/tar2sqfs/process_tarball.c @@ -19,8 +19,7 @@ static int write_file(istream_t *input_file, sqfs_writer_t *sqfs, if (no_tail_pack && filesize > cfg.block_size) flags |= SQFS_BLK_DONT_FRAGMENT; - out = data_writer_ostream_create(hdr->name, sqfs->data, - (sqfs_inode_generic_t **)&fi->user_ptr, + out = data_writer_ostream_create(hdr->name, sqfs->data, &fi->inode, flags); if (out == NULL) -- cgit v1.2.3