From 4a8361f848945b79eac601d04ca05d1125609c74 Mon Sep 17 00:00:00 2001 From: Matthieu Castet Date: Sun, 13 Jul 2008 21:44:00 +0000 Subject: tools/trasher: Don't mix srand/rand and srandom/random interface. patch by matthieu castet, castet.matthieu free fr Originally committed as revision 14222 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/trasher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/trasher.c') diff --git a/tools/trasher.c b/tools/trasher.c index 9e1961f857..baf1bc3f60 100644 --- a/tools/trasher.c +++ b/tools/trasher.c @@ -41,7 +41,7 @@ int main(int argc, char** argv) count= atoi(argv[2]); maxburst= atoi(argv[3]); - srand (time (0)); + srandom (time (0)); fseek(f, 0, SEEK_END); length= ftell(f); -- cgit v1.2.3