From 11e45cd3ff43401e4eb8a58b71638b6922d4595c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 16 Aug 2008 15:16:36 +0000 Subject: trivial fix: ipchksum takes an unspecified input blob, not explicitly a number of shorts. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/include/libpayload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/libpayload/include/libpayload.h') diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 6f07ffa4a4..e75d5da5fd 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -151,7 +151,7 @@ int tolower(int c); int toupper(int c); /* libc/ipchecksum.c */ -unsigned short ipchksum(const unsigned short *ptr, unsigned long nbytes); +unsigned short ipchksum(const void *ptr, unsigned long nbytes); /* libc/malloc.c */ void free(void *ptr); -- cgit v1.2.3