On 11:02 Mon 31 Mar , 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. > > Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> > --- Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users