diff options
author | Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> | 2021-06-26 19:40:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-26 20:40:25 +0200 |
commit | b4d4d9abb322ed0807d2ba0888e73820499aa338 (patch) | |
tree | b980d379e95034ee72aac29955833e1ef0dfd912 /testsuite/gna/issue1256 | |
parent | 111fe055b2f0f3a0225d2553cf739572d691a14d (diff) | |
download | ghdl-b4d4d9abb322ed0807d2ba0888e73820499aa338.tar.gz ghdl-b4d4d9abb322ed0807d2ba0888e73820499aa338.tar.bz2 ghdl-b4d4d9abb322ed0807d2ba0888e73820499aa338.zip |
Codacy issues, Travis cleanup and update ghdl.texi (#1807)
* ghw: fix memleaks reported by codacy
* ghw: printf issues and style (GNU indent)
* testsuite/gna: minor printf issues
* testsuite: fix issues reported by codacy
* scripts/ci-run: clean travis stuff (deprecated)
* scripts: fix issues reported by codacy
* doc/Makefile: add .PHONY
* doc: update ghdl.texi
* testsuite/synth: use synth_tb
Diffstat (limited to 'testsuite/gna/issue1256')
-rw-r--r-- | testsuite/gna/issue1256/vpi_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/gna/issue1256/vpi_plugin.c b/testsuite/gna/issue1256/vpi_plugin.c index 6771bc7d6..8eb2a830f 100644 --- a/testsuite/gna/issue1256/vpi_plugin.c +++ b/testsuite/gna/issue1256/vpi_plugin.c @@ -82,9 +82,9 @@ static PLI_INT32 rw_cb(p_cb_data data){ if(iteration > 0) { vpi_get_value(enum_decoded_handle, &val); val.format = vpiBinStrVal; - printf("enum decoded = %s iteration %d \n", val.value.str, iteration); + printf("enum decoded = %s iteration %u \n", val.value.str, iteration); vpi_get_value(enum_out_handle, &val); - printf("enum out = %s iteration %d \n", val.value.str, iteration); + printf("enum out = %s iteration %u \n", val.value.str, iteration); val.format = vpiBinStrVal; } @@ -92,7 +92,7 @@ static PLI_INT32 rw_cb(p_cb_data data){ if(iteration < STOP_ITERATION) { val.value.str = (char *) input_values[iteration]; - printf("enum in <= %s iteration %d \n", val.value.str, iteration); + printf("enum in <= %s iteration %u \n", val.value.str, iteration); vpi_put_value(enum_in_handle, &val, NULL, vpiNoDelay); register_cb(delay_ro_cb, cbAfterDelay, 1); } else { |