From 4bfa73f8425d999e7615ee2870690f92f0f77849 Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Wed, 20 Dec 2023 10:46:07 +0800 Subject: [PATCH] include/nuttx/rptun/rptun.h: change offset type to uint32_t Sync the offset data type with resource table defined in OpenAMP and Linux. Signed-off-by: Bowen Wang --- include/nuttx/rptun/rptun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/rptun/rptun.h b/include/nuttx/rptun/rptun.h index 1cbe39894af57..cfc8e0531fba3 100644 --- a/include/nuttx/rptun/rptun.h +++ b/include/nuttx/rptun/rptun.h @@ -351,7 +351,7 @@ begin_packed_struct struct rptun_cmd_s struct aligned_data(8) rptun_rsc_s { struct resource_table rsc_tbl_hdr; - unsigned int offset[2]; + uint32_t offset[2]; struct fw_rsc_trace log_trace; struct fw_rsc_vdev rpmsg_vdev; struct fw_rsc_vdev_vring rpmsg_vring0;