diff xrogue/encumb.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 e52a8a7ad4c5
line wrap: on
line diff
--- a/xrogue/encumb.c	Mon Mar 07 19:26:08 2016 -0500
+++ b/xrogue/encumb.c	Mon Mar 07 20:44:01 2016 -0500
@@ -169,7 +169,7 @@
             ch = mvwinch(stdscr, hero.y, hero.x);
             if((ch != FLOOR && ch != PASSAGE)) {
                 extinguish(wghtchk);
-                fuse(wghtchk, (VOID *)NULL, 1, AFTER);
+                fuse(wghtchk, NULL, 1, AFTER);
                 inwhgt = FALSE;
                 return;
             }