Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Hobbyking_Cheetah_Compact Hobbyking_Cheetah_Compact_DRV8323_14bit Hobbyking_Cheetah_Compact_DRV8323_V51_201907 HKC_MiniCheetah ... more
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c
- Revision:
- 153:fa9ff456f731
- Parent:
- 149:156823d33999
- Child:
- 163:74e0ce7f98e8
--- a/targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c Thu Dec 15 11:48:27 2016 +0000 +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/trng_api.c Tue Dec 20 17:27:56 2016 +0000 @@ -86,7 +86,7 @@ memcpy(output, &tmpBuff, length); *output_length = length; } else { - for (int i = 0; i < (length/32); i++) { + for (size_t i = 0; i < (length/32); i++) { trng_get(output); *output_length += 32; output += 32;