1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

Merge pull request #8175 from smlng/cpu/efm32/fix_sign_compare

cpu, efm32_common: fix sign-compare error in flashpage
This commit is contained in:
Sebastian Meiling 2017-11-29 16:14:10 +01:00 committed by GitHub
commit a6c2558802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@
void flashpage_write(int page, void *data)
{
assert(page < FLASHPAGE_NUMOF);
assert(page < (int)FLASHPAGE_NUMOF);
uint32_t *page_addr = (uint32_t *)flashpage_addr(page);
uint32_t *data_addr = (uint32_t *)data;