diff options
author | gkm <gkm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-24 22:44:37 +0000 |
---|---|---|
committer | gkm <gkm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-24 22:44:37 +0000 |
commit | ee1d4c3d90b54bf82f6b44e02aa4cedc19bdba52 (patch) | |
tree | 657ad88fa6f5c2597c8be70bb09db245082068f7 /libiberty/random.c | |
parent | 9a2e8b0ade48cd7c18cd2efd64674481f914bba6 (diff) | |
download | gcc-ee1d4c3d90b54bf82f6b44e02aa4cedc19bdba52.tar.gz |
* libiberty/random.c (end_ptr): Revert previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35962 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/random.c')
-rw-r--r-- | libiberty/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/random.c b/libiberty/random.c index 4e9b7ffafcc..ef00da0a5ae 100644 --- a/libiberty/random.c +++ b/libiberty/random.c @@ -198,7 +198,7 @@ static int rand_type = TYPE_3; static int rand_deg = DEG_3; static int rand_sep = SEP_3; -static long int *end_ptr = &randtbl[ARRAY_SIZE (randtbl)]; +static long int *end_ptr = &randtbl[sizeof(randtbl) / sizeof(randtbl[0])]; /* Initialize the random number generator based on the given seed. If the type is the trivial no-state-information type, just remember the seed. |