diff options
author | Leon Arber <larber@ncsa.uiuc.edu> | 2006-03-07 06:13:23 (GMT) |
---|---|---|
committer | Leon Arber <larber@ncsa.uiuc.edu> | 2006-03-07 06:13:23 (GMT) |
commit | 9fc71ccba43a9c8bc97dffa847c3f0b50f408866 (patch) | |
tree | 1b620ebb34fad2818597def01f22a2dc842d2ebe | |
parent | 840bcbe9ef762ae755df3f97fdac15d84df8909f (diff) | |
download | hdf5-9fc71ccba43a9c8bc97dffa847c3f0b50f408866.zip hdf5-9fc71ccba43a9c8bc97dffa847c3f0b50f408866.tar.gz hdf5-9fc71ccba43a9c8bc97dffa847c3f0b50f408866.tar.bz2 |
[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:
-rw-r--r-- | src/H5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |