Mercurial > hg > early-roguelike
diff xrogue/pack.c @ 236:7c1cb43f346e
XRogue: get rid of VOID as an alias for long.
Maybe some compilers in 1986 didn't handle void pointers well, but they
are no longer a concern.
author | John "Elwin" Edwards |
---|---|
date | Mon, 07 Mar 2016 20:44:01 -0500 |
parents | f54901b9c39b |
children | e1cd27c5464f |
line wrap: on
line diff
--- a/xrogue/pack.c Mon Mar 07 19:26:08 2016 -0500 +++ b/xrogue/pack.c Mon Mar 07 20:44:01 2016 -0500 @@ -259,7 +259,7 @@ case HEIL_ANKH: msg("The ankh welds itself into your hand. "); if (player.t_ctype != C_CLERIC && player.t_ctype != C_PALADIN) - fuse(prayer_recovery, (VOID *)NULL, SPELLTIME, AFTER); + fuse(prayer_recovery, NULL, SPELLTIME, AFTER); /* start a fuse to change player into a paladin */ if (quest_item != HEIL_ANKH) { msg("You hear a strange, distant hypnotic calling... "); @@ -336,7 +336,7 @@ } when QUILL_NAGROM: - fuse(quill_charge,(VOID *)NULL, 8, AFTER); + fuse(quill_charge, NULL, 8, AFTER); /* start a fuse to change player into a druid */ if (quest_item != QUILL_NAGROM) { msg("You begin to see things differently... ");