For pointers use NULL instead of 0.
MFC after: 2 weeks.
This commit is contained in:
parent
798a749aae
commit
f8358c11a5
@ -543,7 +543,7 @@ lookup(u_long id, int type)
|
||||
{
|
||||
struct fileusage *fup;
|
||||
|
||||
for (fup = fuhead[type][id & (FUHASH-1)]; fup != 0; fup = fup->fu_next)
|
||||
for (fup = fuhead[type][id & (FUHASH-1)]; fup != NULL; fup = fup->fu_next)
|
||||
if (fup->fu_id == id)
|
||||
return (fup);
|
||||
return (NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user