From a62dba3262250b650abc84b42d7f95521b69a1c8 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 14 Feb 2007 11:57:55 +0900 Subject: kexec-tools: load_crashdump_segments(): size should really be an unsigned long load_crashdump_segments(): size should really be an unsigned long Signed-off-by: Simon Horman --- kexec/crashdump-elf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit