From: nekral-guest Date: Thu, 27 Dec 2007 23:41:36 +0000 (+0000) Subject: Avoid implicit casts. X-Git-Tag: 4.1.1~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c79c77de43ed38dbb2cd95b053eadd910c776ec;p=shadow Avoid implicit casts. --- diff --git a/libmisc/copydir.c b/libmisc/copydir.c index 6a5475a0..ff9db5d4 100644 --- a/libmisc/copydir.c +++ b/libmisc/copydir.c @@ -155,7 +155,7 @@ static struct link_name *check_link (const char *name, const struct stat *sb) } if (sb->st_nlink == 1) { - return 0; + return NULL; } 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; links = lp; - return 0; + return NULL; } /*