diff options
author | Ulf Jordan <jordan@chalmers.se> | 2008-08-09 19:34:56 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-08-09 19:34:56 +0000 |
commit | 68285699da68490681b330f0d345079b231c11cf (patch) | |
tree | 4d23db264b15fc319c14ed06795f45556d778f7b /payloads/libpayload/include | |
parent | f1e127472bee89453a2962e7cf383bcb112449b9 (diff) | |
download | coreboot-68285699da68490681b330f0d345079b231c11cf.tar.xz |
Fix signedness problem in memcmp.
Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3491 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 188039e0f4..ff69eaad2f 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -178,7 +178,7 @@ u8 hex2bin(u8 h); void *memset(void *s, int c, size_t n); void *memcpy(void *dst, const void *src, size_t n); void *memmove(void *dst, const void *src, size_t n); -int memcmp(const char *s1, const char *s2, size_t len); +int memcmp(const void *s1, const void *s2, size_t len); /* libc/printf.c */ int snprintf(char *str, size_t size, const char *fmt, ...); |