[PATCH 2/2] uImage: fix pointer-sign warning
Andreas Fenkart
afenkart at gmail.com
Mon Nov 16 04:56:55 PST 2015
Signed-off-by: Andreas Fenkart <andreas.fenkart at dev.digitalstrom.org>
---
kexec/kexec-uImage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kexec/kexec-uImage.c b/kexec/kexec-uImage.c
index 00bc064..9df601b 100644
--- a/kexec/kexec-uImage.c
+++ b/kexec/kexec-uImage.c
@@ -224,7 +224,7 @@ static int uImage_gz_load(const unsigned char *buf, off_t len,
return 0;
}
#else
-static int uImage_gz_load(const char *UNUSED(buf), off_t UNUSED(len),
+static int uImage_gz_load(const unsigned char *UNUSED(buf), off_t UNUSED(len),
struct Image_info *UNUSED(image))
{
return -1;
--
2.6.1
More information about the kexec
mailing list