Kean Johnston wrote (in a message from Sunday 21)
> > We settled down for using CARD32 for now.
> Mmmm ok. I just finished taking a closer look at where the variable was
> being used and it is more appropriate to use unsigned int. The two
> functions that it is calling above are both prototyped to take unsigned
> int's. CARD32 will work too but it generates 4 extra warnings whereas
> unsigned int doesn't. But I'm not emotionally attached to either solution :)
>
ints can be 64 bit long on some weird machines (CRay I think was one
of them). Here the lenght of the type matters, so better don't loose
this information.
Which compiler are you using ? CARD32 is typedef'd to an unsigned
int. And none of the compilers I use is generating a warning for such
casts. But well the pmd5* functions can have their prototypes
fixed. These are all static functions local to this file.
Matthieu
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel