diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-08-16 15:16:36 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-08-16 15:16:36 +0000 |
commit | 11e45cd3ff43401e4eb8a58b71638b6922d4595c (patch) | |
tree | 0c3f0490642d491dbedff9b9246356b866a3633c /payloads/libpayload/include | |
parent | 67b35cb163debfbc0bfec6e7d252b23eebca51a8 (diff) | |
download | coreboot-11e45cd3ff43401e4eb8a58b71638b6922d4595c.tar.xz |
trivial fix: ipchksum takes an unspecified input blob, not explicitly a number of shorts.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |