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

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


The following commit(s) were added to refs/heads/master by this push:
     new b58379b  arch/arm: Add l suffix for INT32_C macro
b58379b is described below

commit b58379b7380dcef3346bf9ff1ac76d40dc094095
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sun Oct 31 22:45:15 2021 +0800

    arch/arm: Add l suffix for INT32_C macro
    
    since int32_t typedef to signed long
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 arch/arm/include/inttypes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/inttypes.h b/arch/arm/include/inttypes.h
index 9457a8b..160a6c0 100644
--- a/arch/arm/include/inttypes.h
+++ b/arch/arm/include/inttypes.h
@@ -108,7 +108,7 @@
 
 #define INT8_C(x)   x
 #define INT16_C(x)  x
-#define INT32_C(x)  x
+#define INT32_C(x)  x ## l
 #define INT64_C(x)  x ## ll
 
 #define UINT8_C(x)  x

Reply via email to