diff options
author | 2020-01-22 20:58:21 +0100 | |
---|---|---|
committer | 2020-01-22 20:58:21 +0100 | |
commit | 6f43aebb16c94a02a61bc476a368990efc6b167c (patch) | |
tree | 090970cbc85d025a72d844cfba3c6d6944271f99 /main.c | |
parent | main: fix Coverity 125929 Sizeof not portable (diff) | |
download | portage-utils-6f43aebb16c94a02a61bc476a368990efc6b167c.tar.gz portage-utils-6f43aebb16c94a02a61bc476a368990efc6b167c.tar.bz2 portage-utils-6f43aebb16c94a02a61bc476a368990efc6b167c.zip |
main: fix Coverity 125930 Sizeof not portable
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -220,7 +220,7 @@ makeargv(const char *string, int *argc, char ***argv) { int curc = 2; char *q, *p, *str; - (*argv) = xmalloc(sizeof(char **) * curc); + (*argv) = xmalloc(sizeof(char *) * curc); *argc = 1; (*argv)[0] = xstrdup(argv0); |