linaro-swg / optee_benchmark

OP-TEE Latency benchmark application
Other
5 stars 21 forks source link

Fix braking compilation when enabling OP-TEE benchmark. #12

Closed ChrisG55 closed 5 years ago

ChrisG55 commented 5 years ago

Improper use of format specifiers for arguments of type intptr_t and size_t raise warnings at compile time. Since the build process has by default GCC's -Werror flag set, compilation will fail with two errors. This patch resolves issue #11 by using the appropriate format specifiers.

jbech-linaro commented 5 years ago

Thanks @ChrisG55 ! Reviewed-by: Joakim Bech <joakim.bech@linaro.org>

igoropaniuk commented 5 years ago

Hi @ChrisG55, thanks for the fix. Please apply Joakim's tag, and I'll merge the PR.

ChrisG55 commented 5 years ago

Sorry for being a bit late. Tag is applied.