diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-02-10 12:18:55 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-02-10 12:19:36 +0100 |
commit | 3df53d76b5aeccd29ed7d50d5c798d50fd37ea3e (patch) | |
tree | 8fdb4c0b3f3c506deaabbfb326d04ce72d6a7e95 /bin/sqfs2tar | |
parent | d803b03ca07b4a4a32770e65a5f17ad66e659cae (diff) |
Always use the correct data type for realloc return value
This commit mainly serves the static analysis tooling.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfs2tar')
-rw-r--r-- | bin/sqfs2tar/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |