diff options
-rw-r--r-- | lib_arm/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_arm/bootm.c b/lib_arm/bootm.c index f301edb..5da3425 100644 --- a/lib_arm/bootm.c +++ b/lib_arm/bootm.c @@ -144,7 +144,7 @@ void do_booti_linux (boot_img_hdr *hdr) /* If no bootargs env, just use hdr command line */ if (!commandline) - commandline = hdr->cmdline; + commandline = (char *)hdr->cmdline; /* XXX: in production, you should always use boot.img 's cmdline !!! */ |