X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Ffdt_support.c;h=9e501484625d8583cd1d122e8e6c83f9c6948ac5;hb=04e3c4eb930a761b561cb87f964aa8a5d694c501;hp=c5ed5ad89eec13d0f6b1b04cbaf3a2631f25a060;hpb=ace97d26176a3ebc9ec07738450de93eea35975c;p=oweals%2Fu-boot.git 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;