mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 22:15:46 +01:00
mountd: Remove unneeded cast
Reported by: kib MFC after: 1 week X MFC With: r324007
This commit is contained in:
parent
c13f1d82c8
commit
89b859e39a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324012
@ -1936,7 +1936,7 @@ add_expdir(struct dirlist **dpp, char *cp, int len)
|
||||
{
|
||||
struct dirlist *dp;
|
||||
|
||||
dp = (struct dirlist *)malloc(sizeof (struct dirlist));
|
||||
dp = malloc(sizeof (struct dirlist));
|
||||
if (dp == (struct dirlist *)NULL)
|
||||
out_of_mem();
|
||||
dp->dp_left = *dpp;
|
||||
|
Loading…
Reference in New Issue
Block a user