Use NULL instead of (FOO *)0, it's easier to read.
This commit is contained in:
parent
3252f8a907
commit
21bf6b41d4
23 changed files with 75 additions and 79 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue