From d5bc868d80d1c2f80a2331cfd921227cb8e12fb5 Mon Sep 17 00:00:00 2001 From: LaterComer <12015333+ComerLater@users.noreply.github.com> Date: Sun, 16 Mar 2025 23:31:41 +0800 Subject: [PATCH] =?UTF-8?q?rttypes.h=E4=B8=ADrt=5Fintptr=5Ft=E5=92=8Crt=5F?= =?UTF-8?q?uintptr=5Ft=E5=AE=9A=E4=B9=89=E5=8F=8D=E4=BA=86=20(#10115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/rttypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rttypes.h b/include/rttypes.h index 75bf58d52f..2434eb43b1 100644 --- a/include/rttypes.h +++ b/include/rttypes.h @@ -77,8 +77,8 @@ typedef uintptr_t rt_uintptr_t; /**< Type for unsigned p #else typedef rt_ubase_t rt_size_t; /**< Type for size number */ typedef rt_base_t rt_ssize_t; /**< Used for a count of bytes or an error indication */ -typedef rt_ubase_t rt_intptr_t; /**< Type for signed pointer length integer */ -typedef rt_base_t rt_uintptr_t; /**< Type for unsigned pointer length integer */ +typedef rt_base_t rt_intptr_t; /**< Type for signed pointer length integer */ +typedef rt_ubase_t rt_uintptr_t; /**< Type for unsigned pointer length integer */ #endif /* defined(RT_USING_LIBC) && !defined(RT_USING_NANO) */ typedef rt_base_t rt_err_t; /**< Type for error number */