[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: xsrc/external/mit/xauth/dist
On Sun, Jun 02, 2013 at 12:40:12AM +0000, Christos Zoulas wrote:
> > > Reminds me: should/can __UNCONST() be revisited w.r.t. the thread below?
> > >
> > > http://lists.freebsd.org/pipermail/freebsd-arch/2013-May/014371.html
> >How/why? Yes, it's unsafe. That's the *point*.
> 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?
Main Index |
Thread Index |