Skip to content
Snippets Groups Projects
Commit 6a31e650 authored by patacongo's avatar patacongo
Browse files

Use MAX_INT, not 0x7fffffff. On some machines int is 16-bits

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1498 42af7a65-404d-4744-a932-0658087f49c3
parent 7127caf6
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@
#include <nuttx/config.h>
#include <stdio.h>
#include <limits.h>
#include <semaphore.h>
/****************************************************************************
......@@ -58,7 +59,7 @@
# define lib_give_semaphore(s)
#endif
#define LIB_BUFLEN_UNKNOWN (0x7fffffff)
#define LIB_BUFLEN_UNKNOWN INT_MAX
/****************************************************************************
* Public Types
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment