mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
MAX_RAND should be RAND_MAX
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user