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:54:01 UTC

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

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


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

Review Comment:
   Oh.. you are right. I somehow looked it up wrongly. It is `_ssize_t`, which is defined by architecture. That makes it way more complicated.



-- 
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