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/04/02 14:08:51 UTC

[incubator-nuttx] 01/02: fix INTPTR_MAX define

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 9aee1407f1747c158776519afa454ea2b88e5129
Author: Nakamura, Yuuichi <Yu...@sony.com>
AuthorDate: Fri Feb 7 19:18:25 2020 +0900

    fix INTPTR_MAX define
---
 include/stdint.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/stdint.h b/include/stdint.h
index 6f2f153..66114cd 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -134,7 +134,7 @@
 /* Limits of integer types capable of holding object pointers */
 
 #define INTPTR_MIN          PTR_MIN
-#define INTPTR_MAX          PTR_MIN
+#define INTPTR_MAX          PTR_MAX
 #define UINTPTR_MAX         UPTR_MAX
 
 /* Limits of greatest-width integer types */