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 2020/11/19 08:50:07 UTC
[incubator-nuttx] 02/34: xtensa: Change _int32_t from long to int
to match the compiler
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/incubator-nuttx.git
commit c18f0748303a236cc2b55969e20082c03452b0c5
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Nov 9 16:31:49 2020 +0900
xtensa: Change _int32_t from long to int to match the compiler
PRIx32 etc is already "x" etc.
---
arch/xtensa/include/types.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/xtensa/include/types.h b/arch/xtensa/include/types.h
index bb13a1b..8fefd9c 100644
--- a/arch/xtensa/include/types.h
+++ b/arch/xtensa/include/types.h
@@ -69,8 +69,8 @@ typedef unsigned char _uint8_t;
typedef signed short _int16_t;
typedef unsigned short _uint16_t;
-typedef signed long _int32_t;
-typedef unsigned long _uint32_t;
+typedef signed int _int32_t;
+typedef unsigned int _uint32_t;
typedef signed long long _int64_t;
typedef unsigned long long _uint64_t;