mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 09:33:50 +01:00
lint: tests: fix improper use of format specifiers
This commit is contained in:
parent
eff4f30640
commit
12d0c5bbf2
@ -42,11 +42,11 @@ int main(void)
|
||||
|
||||
/* create random numbers */
|
||||
for (unsigned i = 1; i <= LIMIT; i++) {
|
||||
printf("generating %i random byte(s)\n", i);
|
||||
printf("generating %u random byte(s)\n", i);
|
||||
unsigned count = random_read(buf, i);
|
||||
|
||||
if (count != i) {
|
||||
printf("Error generating random bytes, got %i instead of %i", count, i);
|
||||
printf("Error generating random bytes, got %u instead of %u", count, i);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user