Searched hist:eb238769ae57603e501b83d0c0129f60f6512f3f (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/pta/ |
| H A D | attestation.c | eb238769ae57603e501b83d0c0129f60f6512f3f Mon Mar 27 13:54:23 UTC 2023 Clement Faure <clement.faure@nxp.com> pta: attestation: fix compilation incompatible pointer warning
To reproduce (any 64bits platform will do): $ make PLATFORM=imx-mx8mmevk CFG_ATTESTATION_PTA=y CFG_WERROR=y
core/pta/attestation.c: In function ‘cmd_get_pubkey’: core/pta/attestation.c:358:30: warning: initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from incompatible pointer type ‘size_t *’ {aka ‘long unsigned int *’} [-Wincompatible-pointer-types] 358 | uint32_t *e_out_sz = ¶ms[0].memref.size; | ^ core/pta/attestation.c:360:30: warning: initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from incompatible pointer type ‘size_t *’ {aka ‘long unsigned int *’} [-Wincompatible-pointer-types] 360 | uint32_t *n_out_sz = ¶ms[1].memref.size; | ^
Fixes: 7509620b8b95 ("GP131: Update TEE_Param") Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|