Subject: Re: __UNCONST(a)
To: None <tech-userlevel@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 07/01/2004 21:35:24
>>> #define	__DECONST(type, var)	((type)(uintptr_t)(const void *)(var))
>> Why cast to a specific type?
> because it's only sane way without typeof().

What's insane about just making it produce a void *?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B