Use NULL instead of (FOO *)0, it's easier to read.

This commit is contained in:
Markus Armbruster 2006-03-23 20:48:49 +00:00
parent 3252f8a907
commit 21bf6b41d4
23 changed files with 75 additions and 79 deletions

View file

@ -63,7 +63,7 @@ nxtitemp(struct nstr_item *np)
np->cur++;
}
gp = ef_ptr(np->type, np->cur);
if (gp == (struct genitem *)0)
if (!gp)
return 0;
selected = 1;