diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-10-18 04:46:57 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-18 14:18:05 -0600 |
commit | b92a18e2b61ac3de27c24a4c1ed8e01920d7ae4e (patch) | |
tree | 0021efa51611b665f880d932bb105eac32f0dfb9 /lib/mbedtls/x509_cert_parser.c | |
parent | 491195769dbeed62f0a2f20cfa198bd2b297720e (diff) |
cmd: upl: correct printf code
Building on 32-bit results in a build failure:
cmd/upl.c:75:51: warning: format ‘%lx’ expects argument of type
‘long unsigned int’, but argument 3 has type ‘size_t’
{aka ‘unsigned int’} [-Wformat=]
75 | printf("UPL handoff written to %lx size %lx\n", addr, abuf_size(&buf));
| ~~^ ~~~~~~~~~~~~~~~
| | |
| | size_t {aka unsigned int}
| long unsigned int
| %x
Fixes: 264f4b0b34c0 ("upl: Add a command")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions