[svn-r12021] Purpose:

Bug fix.

Description:
Fix typo.  srand/srandom don't return anything, so don't attempt to return
their value.

Solution:

Platforms tested:
heping

Misc. update:
This commit is contained in:
Leon Arber 2006-03-07 01:13:23 -05:00
parent 840bcbe9ef
commit 9fc71ccba4

View File

@ -3154,8 +3154,8 @@ void HDsrand(unsigned int seed)
#ifdef H5_HAVE_RAND_R
g_seed = seed;
#elif H5_HAVE_RANDOM
return srandom(seed);
srandom(seed);
#else
return srand(seed);
srand(seed);
#endif
}