diff options
Diffstat (limited to 'tools/file2c/src')
-rw-r--r-- | tools/file2c/src/file2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/file2c/src/file2c.c b/tools/file2c/src/file2c.c index 87ea88e9..079b1a59 100644 --- a/tools/file2c/src/file2c.c +++ b/tools/file2c/src/file2c.c @@ -168,7 +168,7 @@ size_t i; if (opt_inputfile) opt_arrayname = basenameof(strcpy(tname, opt_inputfile)); if (!opt_arrayname || !opt_arrayname[0]) { - srand(time(NULL)); + srand(time(0)); sprintf(tname, "filearray%u", rand()); opt_arrayname = tname; } |