MAX_RAND should be RAND_MAX

This commit is contained in:
Gregory Nutt
2015-04-16 09:35:29 -06:00
parent 4c74c83c97
commit 34d1d2907d
+1 -1
View File
@@ -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.