From: Simon Glass Date: Mon, 20 Apr 2015 18:37:16 +0000 (-0600) Subject: fdt: Correct warning in fdt_setup_simplefb_node() X-Git-Tag: v2015.07-rc2~285^2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c3ec646dde0428b96a67afd8c4c7b7db9dd4ca46;p=u-boot fdt: Correct warning in fdt_setup_simplefb_node() Adjust the printf() string to avoid a warning on sandbox. Signed-off-by: Simon Glass --- diff --git a/common/fdt_support.c b/common/fdt_support.c index c5ed5ad89e..9e50148462 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1533,7 +1533,7 @@ int fdt_setup_simplefb_node(void *fdt, int node, u64 base_address, u32 width, if (ret < 0) return ret; - snprintf(name, sizeof(name), "framebuffer@%llx", base_address); + snprintf(name, sizeof(name), "framebuffer@%" PRIx64, base_address); ret = fdt_set_name(fdt, node, name); if (ret < 0) return ret;