For pointers use NULL instead of 0.
MFC after: 2 weeks.
This commit is contained in:
parent
458199cffd
commit
637e3ed98a
@ -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