PATCH: small fix to dfp.c

Ian Lance Taylor ian@airs.com
Tue Jan 24 07:30:00 GMT 2006


Ben Elliston <bje@au1.ibm.com> writes:

> 2006-01-23  Ben Elliston  <bje@au.ibm.com>
> 
>         * dfp.c (dfp_byte_swap): Use uint32_t, not unsigned long.

This is OK.

Thanks.

But I would like to understand where the typedef for uint32_t comes
from.  I don't see it defined anywhere, and it is only used in dfp.c.
Have we now introduced an assumption that uint32_t is defined in a
system header file?  Shouldn't we instead be checking
HOST_BITS_PER_INT, etc.?

Ian



More information about the Gcc-patches mailing list