You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/18 17:18:12 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8183: limits.h: add PTRDIFF_MAX and PTRDIFF_MIN

xiaoxiang781216 commented on code in PR #8183:
URL: https://github.com/apache/nuttx/pull/8183#discussion_r1073831131


##########
include/limits.h:
##########
@@ -309,4 +309,9 @@
 
 #define HOST_NAME_MAX  32
 
+/* ptrdiff_t limits */
+
+#define PTRDIFF_MAX INT_MAX

Review Comment:
   PTRDIFF_MAX isn't always equals to INT_MAX



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org