On Sun, 2003-12-21 at 08:04, Kean Johnston wrote: > > Which compiler are you using ? CARD32 is typedef'd to an unsigned > gcc 2.95.3. > > The warning is not wrong though. It simply warns that we are passing > argument 1 to function pmd5_hash() and add_entropy() from an > incompatible pointer type. A CARD32 * is not the same as an unisgned int > *, even though CARD32 is typedef'ed to an unsigned int. The typedef > introduces a new type and it is pedantically different.
<pedantic> Typedefs are generally considered not to introduce new types in C. Likely the compiler is warning because CARD32 is typedef'ed to unsigned long not unsigned int on your system. (long and int *are* distinct, even when they have the same width.) </pedantic> Owen _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel