mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(make_dir_parents): Don't apply sizeof to a hard-coded type name.
Use the variable name instead.
This commit is contained in:
1 parent
412a83b11b
commit
dc59bb5133
1 file changed
+1
-1
+1
-1
@@ -207,7 +207,7 @@ make_dir_parents (char const *arg,
|
||||
if (re_protect)
|
||||
{
|
||||
struct ptr_list *new = (struct ptr_list *)
|
||||
alloca (sizeof (struct ptr_list));
|
||||
alloca (sizeof *new);
|
||||
new->dirname_end = slash;
|
||||
new->next = leading_dirs;
|
||||
leading_dirs = new;
|
||||
|
||||
Reference in new issue
Block a user