Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: xsrc/external/mit/xauth/dist



On Jun 3,  5:34am, jruohonen%iki.fi@localhost (Jukka Ruohonen) wrote:
-- Subject: Re: CVS commit: xsrc/external/mit/xauth/dist

| > Well, there is an advantage that the FreeBSD one has over ours. It can be
| > used in c++ with -Wold-style-cast, if defined as:
| > 
| > #define     __DECONST(t, a) const_cast<t>(a)
| 
| That, and why is it cast to an unsigned long and not uintptr_t?

So that it does not bring in another header to define uintptr_t.

christos


Home | Main Index | Thread Index | Old Index