You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/09/25 16:04:35 UTC

(nuttx) 22/22: include/nuttx/rptun/rptun.h: change offset type to uint32_t

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4bfa73f8425d999e7615ee2870690f92f0f77849
Author: Bowen Wang <wa...@xiaomi.com>
AuthorDate: Wed Dec 20 10:46:07 2023 +0800

    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 <wa...@xiaomi.com>
---
 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 1cbe39894a..cfc8e0531f 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;