From: Matthias Fuchs Date: Sat, 4 Oct 2008 17:26:16 +0000 (+0200) Subject: api: fix type mismatch X-Git-Tag: v2008.10-rc3~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=12c6670f873ed632c264a6f3e8bf1297d5c3ddbc;p=u-boot api: fix type mismatch This patch fixes a type mismatch and thus removes a compiler warning when compiling with CONFIG_API on powerpc. Signed-off-by: Matthias Fuchs --- diff --git a/api/api_platform-ppc.c b/api/api_platform-ppc.c index ca9f9a5cd1..611a01b5ec 100644 --- a/api/api_platform-ppc.c +++ b/api/api_platform-ppc.c @@ -66,7 +66,7 @@ int platform_sys_info(struct sys_info *si) si->bar = gd->bd->bi_bar; #undef bi_bar #else - si->bar = NULL; + si->bar = 0; #endif platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);