diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2014-01-21 14:30:51 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-10 08:30:07 +0200 |
commit | 0f027e421a9c7040d232a1a41b3940243b1cba1f (patch) | |
tree | cbbdf2bbad8e109bad3a1386d0841e476fc2e9b5 /payloads/libpayload/libc/hexdump.c | |
parent | d0cdcaeb086ce215915b098d08ff6ec2d5198327 (diff) | |
download | coreboot-0f027e421a9c7040d232a1a41b3940243b1cba1f.tar.xz |
libpayload: hexdump.c: Change type of length argument to size_t
Representing a (non-negative) length with a signed integer is not
optimal, so change its type to `size_t`.
Change-Id: Ic0c2b7e081ba32d917409568ee53007d9ab7f8f3
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/4768
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/libc/hexdump.c')
-rw-r--r-- | payloads/libpayload/libc/hexdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/hexdump.c b/payloads/libpayload/libc/hexdump.c index e4aa8b93cf..1a35f05c0f 100644 --- a/payloads/libpayload/libc/hexdump.c +++ b/payloads/libpayload/libc/hexdump.c @@ -29,7 +29,7 @@ #include <libpayload.h> -void hexdump(void *memory, int length) +void hexdump(void *memory, size_t length) { int i; uint8_t *m; |