]> granicus.if.org Git - nethack/commit
remove pointer to long conversions - part 1 of 3 (trunk only)
authornethack.allison <nethack.allison>
Sat, 8 Jul 2006 18:24:01 +0000 (18:24 +0000)
committernethack.allison <nethack.allison>
Sat, 8 Jul 2006 18:24:01 +0000 (18:24 +0000)
commit699330928d9a59c2a22e82a01de8aba4e00b32ac
treec6d0531a0473fbd57dce95df584776af615ee31b
parentdbc3abb22637c1b710839a98b2732663dcc97987
remove pointer to long conversions - part 1 of 3 (trunk only)

P64 (Win64) has a 64 bit pointer size, but a 32 bit long size.
Remove some code that forced pointers into a long int, and
vice versa where information could be lost.

This part deals with light source functions and their
arguments mostly, and switches some arguments
from type genericptr_t to 'anything'.
include/extern.h
include/lev.h
include/wintype.h
src/hack.c
src/light.c
src/makemon.c
src/mon.c
src/polyself.c