commit | e7c920a22800ade845a656f7925c1977e69e95b1 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Feb 07 14:27:04 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Sat Mar 13 13:14:52 2021 -0500 |
tree | 993fd0e8c98fa2d0df23618f13f45683634cd78e | |
parent | 9586a481731c67997a09162dd41579dbc8c35db6 [diff] |
tpm: Correct warning on 32-bit build Fix the warning: drivers/tpm/tpm2_tis_sandbox.c: In function ‘sandbox_tpm2_xfer’: drivers/tpm/tpm2_tis_sandbox.c:288:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] printf("TPM2: Unmatching length, received: %ld, expected: %d\n", ~~^ %d send_size, length); ~~~~~~~~~ Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>