[U-Boot-Users] [PATCH v3] crc32: use uint32_t rather than unsigned long

Mike Frysinger vapier at gentoo.org
Wed Apr 23 07:39:03 CEST 2008


On Monday 31 March 2008, Mike Frysinger wrote:
> The envcrc.c does sizeof(unsigned long) when calculating the crc, but this
> is done with the build toolchain instead of the target toolchain, so if the
> build is a 64bit system but the target is 32bits, the size will obviously
> be wrong. This converts all unsigned long stuff related to crc32 to
> uint32_t types. Compile tested only: output of ./tools/envcrc when run on a
> 32bit build system matches that of a 64bit build system.

ping
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080423/ec2c46bc/attachment.pgp 


More information about the U-Boot mailing list