Message ID | E1b9xsU-0003sg-4H@e0050434b2927.dyn.armlinux.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kexec/arch/arm/kexec-uImage-arm.c b/kexec/arch/arm/kexec-uImage-arm.c index 03c2f4d..8e0a9ac 100644 --- a/kexec/arch/arm/kexec-uImage-arm.c +++ b/kexec/arch/arm/kexec-uImage-arm.c @@ -11,7 +11,8 @@ int uImage_arm_probe(const char *buf, off_t len) { - return uImage_probe_kernel(buf, len, IH_ARCH_ARM); + return uImage_probe_kernel((const unsigned char *)buf, len, + IH_ARCH_ARM); } int uImage_arm_load(int argc, char **argv, const char *buf, off_t len,