[OpenSER-Devel] SF.net SVN: openser: [3392] trunk/crc.c

Henning Westerholt henning.westerholt at 1und1.de
Mon Dec 17 09:52:19 UTC 2007


On Friday 14 December 2007, Dan Pascu wrote:
> Isn't the same fix to be applied to the next for loop? I see there is also
> a line remaining that reads:
>
> hash = crc_32_tab[((char)hash) ^ *data] ^ (hash >> 8);

Hi Dan,

the functions works as expected with the changes in my tests. But you're 
right, its probably safer to fix the cast for the last loop also.

Thank you,

Henning



More information about the Devel mailing list