diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-16 09:35:29 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-16 09:35:29 -0600 |
commit | 496fa9744e2ac6cba715e1a3639906a3e5b72a17 (patch) | |
tree | 4b9cf69c3fa5d9e6ae995cfcb6351f3a91220a0d | |
parent | 52ca45e07e5337d39ad26adfa9ab1d818e842555 (diff) | |
download | px4-nuttx-496fa9744e2ac6cba715e1a3639906a3e5b72a17.tar.gz px4-nuttx-496fa9744e2ac6cba715e1a3639906a3e5b72a17.tar.bz2 px4-nuttx-496fa9744e2ac6cba715e1a3639906a3e5b72a17.zip |
MAX_RAND should be RAND_MAX
-rw-r--r-- | nuttx/include/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/stdlib.h b/nuttx/include/stdlib.h index 16a3f935b..90b9db418 100644 --- a/nuttx/include/stdlib.h +++ b/nuttx/include/stdlib.h @@ -63,7 +63,7 @@ /* Maximum value returned by rand() */ -#define MAX_RAND 32767 +#define RAND_MAX 32767 /* Integer expression whose value is the maximum number of bytes in a * character specified by the current locale. |