diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2013-12-26 22:53:52 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-01-14 08:07:44 +0100 |
commit | 3dd0e72d3b9ad5fb6593db6c81c9ad712711e330 (patch) | |
tree | 9098c3c7c0a59fb77758a7b50d2b4b9d715c948b /src/lib/rmodule.c | |
parent | 8e053afa860e254d099b7c2e530cfbbe185ca098 (diff) |
lib/hexdump: Take const void * and size_t as arguments
Representing a memory location as an unsigned long is specific to
32-bit architectures. It also doesn't make sense to represent a length
assumed to be positive as a signed integer. With this change, it is no
longer necessary to cast a pointer to unsigned long when passing it to
hexdump.
Change-Id: I641777d940ceac6f37c363051f1e9c1b3ec3ed95
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/4575
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib/rmodule.c')
0 files changed, 0 insertions, 0 deletions