From: Andy Fleming Date: Thu, 16 Aug 2007 01:06:50 +0000 (-0500) Subject: Fix warnings from of_data copy fix X-Git-Tag: v1.3.0-rc1~19^2~6^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82bd9ee77490588d4da785d75829ca63d0176baf;p=u-boot Fix warnings from of_data copy fix Forgot to cast of_flat_tree to ulong. Signed-off-by: Andy Fleming --- diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 90e3f8b9af..bcb927fd10 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -932,7 +932,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag, * so we flag it to be copied if it is not. */ if (of_flat_tree >= (char *)CFG_BOOTMAPSZ) - of_data = of_flat_tree; + of_data = (ulong)of_flat_tree; #endif /* move of_flat_tree if needed */ @@ -993,7 +993,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag, * so we flag it to be copied if it is not. */ if (of_flat_tree >= (char *)CFG_BOOTMAPSZ) - of_data = of_flat_tree; + of_data = (ulong)of_flat_tree; #endif /* move of_flat_tree if needed */