Mercurial > hg > early-roguelike
diff xrogue/fight.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/fight.c Mon Mar 07 19:26:08 2016 -0500 +++ b/xrogue/fight.c Mon Mar 07 20:44:01 2016 -0500 @@ -564,7 +564,7 @@ if (find_slot(unconfuse)) lengthen(unconfuse, HUHDURATION); else - fuse(unconfuse, (VOID *)NULL, HUHDURATION, AFTER); + fuse(unconfuse, NULL, HUHDURATION, AFTER); turn_on(player, ISHUH); } else msg("You feel dizzy, but it quickly passes.");
