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
This commit is contained in:
patacongo 2009-02-14 22:11:58 +00:00
parent 7127caf67d
commit 6a31e650e8

View File

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