On Wed, 10 May 2000, Doug Rabson wrote: > You can suppress the warning if you cast to uintptr_t first. Pretty ugly > though. For (almost) full uglyness and correctness, you have to cast to "volatile void *" first, then back via "void *": #define unvolstructfoop(sfp) \ ((struct foo *)(void *)(uintptr_t)(volatile void *)(sfp)) For full uglyness, add an ifdef to test if uintptr_t exists (see the C99 standard), and backup methods for when it doesn't exist. Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: One more question (differ... Bernd Luevelsmeyer
- Re: One more question (differ... Sheldon Hearn
- Re: One more question (differ... Bernd Luevelsmeyer
- Re: One more question (differ... Warner Losh
- Re: One more question (differ... David O'Brien
- Re: One more question (differ... Warner Losh
- Re: One more question (differ... Wes Peters
- Re: One more question (differ... Bernd Luevelsmeyer
- Re: One more question (differ... Warner Losh
- Re: One more question (differ... Martin Cracauer
- Re: One more question (different now) Bruce Evans
- Re: One more question (different now) Garance A Drosihn