|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64
> James Harper, le Wed 23 Jan 2008 11:55:50 +1100, a écrit :
> > > >
> > > > Any suggestions as to what the type should be called?
> > >
> > > Just the standard name: uintptr_t
> > >
> >
> > Can you qualify 'standard' in that context (eg Linux, gcc, POSIX, etc).
>
> C99
That'll do nicely :)
> > I don't ever remember hearing of that field before. Is it a type defined
> > as 'an integer with the same width as a pointer'?
>
> « The following type designates an unsigned integer type with the property
> that any valid pointer to void can be converted to this type, then
> converted back to pointer to void, and the result will compare equal to
> the original pointer: uintptr_t »
Perfect. Thanks.
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] sizeof(long) different under windows x64 and linux x64, (continued)
- Re: [Xen-devel] sizeof(long) different under windows x64 and linux x64, Andy Grover
- Re: [Xen-devel] sizeof(long) different under windows x64 and linux x64, Daniel Stodden
- RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, James Harper
- RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, James Harper
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Samuel Thibault
- RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, James Harper
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Samuel Thibault
- RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64,
James Harper <=
- RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, James Harper
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Keir Fraser
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, John Levon
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Keir Fraser
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Christoph Egger
- Re: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Christoph Egger
- RE: [Xen-devel] sizeof(long) different under windows x64 and linuxx64, Daniel Stodden
|
|
|
|
|