aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/rdsquashfs/fill_files.c2
-rw-r--r--bin/sqfs2tar/options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/rdsquashfs/fill_files.c b/bin/rdsquashfs/fill_files.c
index 63ad640..1afe6b8 100644
--- a/bin/rdsquashfs/fill_files.c
+++ b/bin/rdsquashfs/fill_files.c
@@ -64,9 +64,9 @@ order_by_start:
static int add_file(const sqfs_tree_node_t *node)
{
+ struct file_ent *new;
size_t new_sz;
char *path;
- void *new;
if (num_files == max_files) {
new_sz = max_files ? max_files * 2 : 256;
diff --git a/bin/sqfs2tar/options.c b/bin/sqfs2tar/options.c
index a84fcd4..1b652b5 100644
--- a/bin/sqfs2tar/options.c
+++ b/bin/sqfs2tar/options.c
@@ -82,7 +82,7 @@ void process_args(int argc, char **argv)
size_t idx, new_count;
const char *name;
int i, ret;
- void *new;
+ char **new;
for (;;) {
i = getopt_long(argc, argv, short_opts, long_opts, NULL);