This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] Re: Bug in crc32 routine?


Andrew Lunn wrote:
On Fri, Oct 18, 2002 at 03:14:24AM +0100, Jonathan Larmour wrote:

+  if (1667500021 != cyg_ether_crc32(license_txt,sizeof(license_txt)-1)) {
Mumble, mumble, 32-bit reliance, mumble ;-). Really, that's what the type defs in <cyg/infra/cyg_type.h> are for - rather than using unsigned longs. (Although in due course we should use the C99 <inttypes.h> when GCC gets round to implementing it).

Will this stop you mumbling?
YES IT DOES!

<ahem>

Please check it in, and thanks for going the extra mile :).

Jifl
--
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]