From 34d1d2907d6fb132cb3a5f579ca2dbc478ca56e2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 16 Apr 2015 09:35:29 -0600 Subject: [PATCH] MAX_RAND should be RAND_MAX --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index 16a3f935b3..90b9db4183 100644 --- a/include/stdlib.h +++ b/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.