summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2012-03-09 21:16:51 +0800
committerLily Zhang <r58066@freescale.com>2012-03-13 14:55:12 +0800
commit09b87ad3c1ef65e3ec090806ae1c48365e6c45d8 (patch)
treeebbcf9c2184647761e6709ac630718ce9a032a44
parent22404ba0d9b002685c47271b164a22dbe8dc7856 (diff)
downloadu-boot-imx-09b87ad3c1ef65e3ec090806ae1c48365e6c45d8.zip
u-boot-imx-09b87ad3c1ef65e3ec090806ae1c48365e6c45d8.tar.gz
u-boot-imx-09b87ad3c1ef65e3ec090806ae1c48365e6c45d8.tar.bz2
ENGR00176347-7 bootm: remove build warning
Remove the following build warning: bootm.c: In function 'do_booti_linux': bootm.c:147: warning: pointer targets in assignment differ in signedness Signed-off-by: Lily Zhang <r58066@freescale.com>
-rw-r--r--lib_arm/bootm.c2
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 !!! */