aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-11 13:10:50 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-11 13:10:50 +1000
commit95a3570c88cc6e64131a4bbac48e1e39c7e3ea7a (patch)
tree24ec6c4871d0f778e4b3e0b4a20b2ed125843d60 /tools
parentbdbe78a8daed85e6d794deb1f840c1ec3c3b02f1 (diff)
downloaduGFX-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')
-rw-r--r--tools/file2c/src/file2c.c2
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;
}