Avoid implicit casts.

This commit is contained in:
nekral-guest 2007-12-27 23:41:36 +00:00
parent 7f5a4e15c6
commit 9c79c77de4

View File

@ -155,7 +155,7 @@ static struct link_name *check_link (const char *name, const struct stat *sb)
} }
if (sb->st_nlink == 1) { if (sb->st_nlink == 1) {
return 0; return NULL;
} }
lp = (struct link_name *) xmalloc (sizeof *lp); lp = (struct link_name *) xmalloc (sizeof *lp);
@ -171,7 +171,7 @@ static struct link_name *check_link (const char *name, const struct stat *sb)
lp->ln_next = links; lp->ln_next = links;
links = lp; links = lp;
return 0; return NULL;
} }
/* /*