diff options
author | Edward Hervey <edward@centricular.com> | 2018-05-04 09:21:16 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-05-04 09:21:16 +0200 |
commit | 2f39b50331f375288cd7b7dedbd4416ca557a89b (patch) | |
tree | 45e1cc9162673a9e92b08c49f4763d45fcb27e77 /orc-test | |
parent | 21a42ae938caa1025efd32272e8c28040247a9b8 (diff) |
orctest: Allow enough room for sprintf()
We were writing more than 300 characters in some cases. Thanks gcc
8 for pointing that out :)
Diffstat (limited to 'orc-test')
-rw-r--r-- | orc-test/orctest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c index 2d07a35..7648e11 100644 --- a/orc-test/orctest.c +++ b/orc-test/orctest.c @@ -205,7 +205,7 @@ orc_test_gcc_compile (OrcProgram *p) OrcTestResult orc_test_gcc_compile_neon (OrcProgram *p) { - char cmd[300]; + char cmd[400]; char *base; char source_filename[100]; char obj_filename[100]; @@ -1086,7 +1086,7 @@ orc_test_performance_full (OrcProgram *program, int flags, OrcTestResult orc_test_gcc_compile_mips (OrcProgram *p) { - char cmd[300]; + char cmd[400]; char *base; char source_filename[100]; char obj_filename[100]; |