We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db119c7 commit e50c7afCopy full SHA for e50c7af
targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c
@@ -86,7 +86,7 @@ int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_l
86
memcpy(output, &tmpBuff, length);
87
*output_length = length;
88
} else {
89
- for (int i = 0; i < (length/32); i++) {
+ for (size_t i = 0; i < (length/32); i++) {
90
trng_get(output);
91
*output_length += 32;
92
output += 32;
0 commit comments