PATCH: Cast to int32 first when casting pointer to int64
Joseph S. Myers
joseph@codesourcery.com
Wed Nov 21 23:21:00 GMT 2012
On Wed, 21 Nov 2012, H.J. Lu wrote:
> > Referring to "real type" is hardly appropriate here; the point in tgmath.h
> > is distinguishing real and complex types and referring to the standard
> > rules for how tgmath.h determines a common real type. I think you mean
> > something like "intptr_t if P is true, or T if P is false" and then
> > "intptr_t if EXPR has a pointer type, or the type of EXPR otherwise".
>
> How about __integer_type with the updated comments?
I'd think something more specific such as __integer_if_pointer_type would
be better.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list