Re: 64-bit analysis of the gtk+ library



"Shivram U" <shivaram upadhyayula wipro com> writes:

> > >7. Warnings due to pixel values being treated as 32-bit quantities.
> > >	I guess these can be safely ignored.
> > >
> > >
> > >
> > I have no idea about this one.
>    For example in XColor struct pixel is defined as an unsigned long. The
> warning related to pixel values can be ignored, because pixel values would
> not exceed 2x32-1 at present. Or would they ?

Like the other Xlib quantities mentioned, Pixel values are 32-bits in
the X protocol; the fact they are 64-bits on 64-bit machines is just a
historical oddity.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]