summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/crashdump-elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/crashdump-elf.c b/kexec/crashdump-elf.c
index b8e1f49..850087e 100644
--- a/kexec/crashdump-elf.c
+++ b/kexec/crashdump-elf.c
@@ -31,7 +31,8 @@ int FUNC(struct kexec_info *info,
{
EHDR *elf;
PHDR *phdr;
- int i, sz;
+ int i;
+ unsigned long sz;
char *bufp;
long int nr_cpus = 0;
uint64_t notes_addr, notes_len;