diff options
author | Paul Selkirk <paul@psgd.org> | 2017-10-11 17:32:33 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-10-11 17:36:00 -0400 |
commit | 4026cce22d330d3b9c4b218dd2e19d4f60412e05 (patch) | |
tree | 7f04989c6905f6b80b4d5d3cfe65a430f6b6ed2c /projects/cli-test/test-fmc.c | |
parent | c746ed393aff2a86a1f53e636d2530559be53d6f (diff) |
Cleanup: signed/unsigned mismatches, mostly in loop counters
Diffstat (limited to 'projects/cli-test/test-fmc.c')
-rw-r--r-- | projects/cli-test/test-fmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/cli-test/test-fmc.c b/projects/cli-test/test-fmc.c index b393dac..a1d6eea 100644 --- a/projects/cli-test/test-fmc.c +++ b/projects/cli-test/test-fmc.c @@ -105,7 +105,7 @@ int test_fpga_data_bus(struct cli_def *cli, uint32_t test_rounds) HAL_RNG_Init(&rng_inst); /* run some rounds of data bus test */ - for (c = 0; c < test_rounds; c++) { + for (c = 0; c < (int)test_rounds; c++) { data_diff = 0; /* try to generate "random" number */ hal_result = HAL_RNG_GenerateRandomNumber(&rng_inst, &rnd); @@ -163,7 +163,7 @@ int test_fpga_address_bus(struct cli_def *cli, uint32_t test_rounds) HAL_RNG_Init(&rng_inst); /* run some rounds of address bus test */ - for (c = 0; c < test_rounds; c++) { + for (c = 0; c < (int)test_rounds; c++) { addr_diff = 0; /* try to generate "random" number */ hal_result = HAL_RNG_GenerateRandomNumber(&rng_inst, &addr); |