diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-11 13:10:50 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-11 13:10:50 +1000 |
commit | 95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a (patch) | |
tree | 24ec6c4871d0f778e4b3e0b4a20b2ed125843d60 /tools/file2c/src/file2c.c | |
parent | bdbe78a8daed85e6d794deb1f840c1ec3c3b02f1 (diff) | |
download | uGFX-95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a.tar.gz uGFX-95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a.tar.bz2 uGFX-95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a.zip |
Remove NULLs except in comments as some compilers/OS's give strange definitions.
Diffstat (limited to 'tools/file2c/src/file2c.c')
-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; } |