diff xrogue/wear.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
line wrap: on
line diff
--- a/xrogue/wear.c	Mon Mar 07 19:26:08 2016 -0500
+++ b/xrogue/wear.c	Mon Mar 07 20:44:01 2016 -0500
@@ -328,7 +328,7 @@
                 msg("Wearing %s", inv_name(obj,TRUE));
                 cur_misc[WEAR_GAUNTLET] = obj;
                 if (obj->o_which == MM_FUMBLE)
-                    start_daemon(fumble, (VOID *)NULL, AFTER);
+                    start_daemon(fumble, NULL, AFTER);
             /*
              * the jewel of attacks does an aggavate monster
              */
@@ -358,7 +358,7 @@
                 msg("Wearing %s",inv_name(obj,TRUE));
                 cur_misc[WEAR_NECKLACE] = obj;
                 msg("The necklace is beginning to strangle you!");
-                start_daemon(strangle, (VOID *)NULL, AFTER);
+                start_daemon(strangle, NULL, AFTER);
             otherwise:
                 msg("What a strange item you have!");
             }