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 2022/06/08 13:33:50 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6389: libc/ipc: add ftok(3) support

pkarashchenko commented on code in PR #6389:
URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r892378319


##########
include/sys/types.h:
##########
@@ -158,7 +158,7 @@ typedef int          id_t;
  * semaphores. A key is simply an integer of type key_t
  */
 
-typedef int16_t      key_t;
+typedef long         key_t;

Review Comment:
   is it reasonable to use fixed length type like `uint32_t` instead?



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