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

@ -413,7 +413,7 @@ comm_bomb(struct emp_qelem *list, struct sctstr *target)
pr("some %s\n", ip->i_name);
}
for (;;) {
ip = whatitem((s_char *)0, "commodity to bomb? ");
ip = whatitem(NULL, "commodity to bomb? ");
if (player->aborted)
return;
if (!ip)