Revert previous commit, and instead make the expression in rev. 1.2

match the style of this file.

OK'ed by:	rrs
This commit is contained in:
Ruslan Ermilov 2006-11-05 14:36:59 +00:00
parent 50cec91936
commit 9274ba8a1f
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ update_crc32(uint32_t crc32,
if (length == 0) {
return (crc32);
}
offset = (uintptr_t) (buffer & ~0x3);
offset = ((uintptr_t) buffer) & 0x3;
return (sctp_crc32c_sb8_64_bit(crc32, buffer, length, offset));
}