Author: quozl Date: Thu Jul 14 04:07:23 2011 New Revision: 2354 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2354
Log: memcmp, fix to previous commit, size_t not present, use int
Modified: clients/lib/mem.c
Modified: clients/lib/mem.c ============================================================================== --- clients/lib/mem.c Thu Jul 14 04:05:00 2011 (r2353) +++ clients/lib/mem.c Thu Jul 14 04:07:23 2011 (r2354) @@ -17,7 +17,7 @@ }
int -memcmp(const void *s1, const void *s2, size_t n) +memcmp(const void *s1, const void *s2, int n) { int diff; while (n--) {