Messages in this thread | | | Date | Thu, 6 May 2004 20:38:52 +0300 (EEST) | From | Meelis Roos <> | Subject | CRC32c warning on sparc64 |
| |
This is 2.6.6-rc3+BK as of today on a sparc64 (gcc 3.3.3 on Debian):
CC [M] crypto/crc32c.o crypto/crc32c.c:89: warning: initialization from incompatible pointer type
This is because chksum_update uses size_t (64-bit unsigned long on sparc64) length argument but dia_update seems to want unsigned int as the type of length.
What is the right fix - change the length in chksum_update() and crc32c() to unsigned int?
-- Meelis Roos (mroos@linux.ee)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |