Commit c48e08ab authored by dannysmith's avatar dannysmith
Browse files

* toplev.c (randomize): Correct call to time().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69083 138bc75d-0d04-0410-961f-82ee72b054a4
parent 03da418a
2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
* toplev.c (randomize): Correct call to time().
2003-07-08 Jakub Jelinek <jakub@redhat.com> 2003-07-08 Jakub Jelinek <jakub@redhat.com>
   
* unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
......
...@@ -1589,7 +1589,7 @@ randomize (void) ...@@ -1589,7 +1589,7 @@ randomize (void)
} }
#else #else
{ {
time_t now = time (); time_t now = time (NULL);
if (now != (time_t)-1) if (now != (time_t)-1)
local_tick = (unsigned) now; local_tick = (unsigned) now;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment