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 <wangbowen6@xiaomi.com>
This commit is contained in:
Bowen Wang 2023-12-20 10:46:07 +08:00 committed by Xiang Xiao
parent 4fa1c460d3
commit 4bfa73f842
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ begin_packed_struct struct rptun_cmd_s
struct aligned_data(8) rptun_rsc_s struct aligned_data(8) rptun_rsc_s
{ {
struct resource_table rsc_tbl_hdr; struct resource_table rsc_tbl_hdr;
unsigned int offset[2]; uint32_t offset[2];
struct fw_rsc_trace log_trace; struct fw_rsc_trace log_trace;
struct fw_rsc_vdev rpmsg_vdev; struct fw_rsc_vdev rpmsg_vdev;
struct fw_rsc_vdev_vring rpmsg_vring0; struct fw_rsc_vdev_vring rpmsg_vring0;