aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libelf/elf.c')
-rw-r--r--lib/libelf/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/elf.c b/lib/libelf/elf.c
index d368454..f6a052e 100644
--- a/lib/libelf/elf.c
+++ b/lib/libelf/elf.c
@@ -202,7 +202,7 @@ elf_get_base_addr(void *file_addr)
* buffer larger than the size of the file
* @return The size of the ELF image or < 0 for error
*/
-long elf_get_file_size(const void *buffer, const long buffer_size)
+long elf_get_file_size(const void *buffer, const unsigned long buffer_size)
{
const struct ehdr *ehdr = (const struct ehdr *)buffer;