1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

add some gcc 4.0 fixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@764 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2005-04-29 17:50:19 +00:00
parent 658e159aa4
commit 7543851738
3 changed files with 201 additions and 3 deletions

View File

@@ -745,7 +745,7 @@ crc32(
/* handle bulk of data as 32-bit words */
pend = pdata + (nbytes & 0xfffffffc);
while (pdata < pend) {
*tptr = *((ulong *)pdata)++;
*tptr = (*((ulong *)pdata))++;
CRC_INNER_LOOP(32, crc, tmp[0]);
CRC_INNER_LOOP(32, crc, tmp[1]);
CRC_INNER_LOOP(32, crc, tmp[2]);