]> granicus.if.org Git - shadow/commitdiff
Avoid implicit casts.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 27 Dec 2007 23:41:36 +0000 (23:41 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 27 Dec 2007 23:41:36 +0000 (23:41 +0000)
libmisc/copydir.c

index 6a5475a0b45ca3b5be3e31c82a8cf9ae166d991f..ff9db5d406dab3dee564acd478e3f21fb3af7ff1 100644 (file)
@@ -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;
 }
 
 /*