From 95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 11 May 2014 13:10:50 +1000 Subject: Remove NULLs except in comments as some compilers/OS's give strange definitions. --- tools/file2c/src/file2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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; } -- cgit v1.2.3