summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/lib.h2
-rw-r--r--src/lib/hexdump.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/lib.h b/src/include/lib.h
index c272eb57b5..8f02004bff 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -52,6 +52,6 @@ extern unsigned char _estack[];
/* Defined in src/lib/hexdump.c */
void hexdump(const void *memory, size_t length);
-void hexdump32(char LEVEL, const void *d, int len);
+void hexdump32(char LEVEL, const void *d, size_t len);
#endif /* __LIB_H__ */
diff --git a/src/lib/hexdump.c b/src/lib/hexdump.c
index 44a5aa433f..a15c5cdb11 100644
--- a/src/lib/hexdump.c
+++ b/src/lib/hexdump.c
@@ -62,7 +62,7 @@ void hexdump(const void *memory, size_t length)
}
}
-void hexdump32(char LEVEL, const void *d, int len)
+void hexdump32(char LEVEL, const void *d, size_t len)
{
int count = 0;