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
This commit is contained in:
@ -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, ...);
|
||||
|
Reference in New Issue
Block a user