[efm32] tidy compiler warning

This commit is contained in:
Richard Meadows 2018-07-16 20:46:53 +00:00
parent 98faaceb70
commit 55bb96cfdb
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ bool efm32_probe(target *t)
uint32_t flash_page_size = device->flash_page_size;
sprintf(variant_string, "%c\b%c\b%s %d F%d %s",
di_version + 48, device_index + 32,
di_version + 48, (uint8_t)device_index + 32,
device->name, part_number, flash_kib, device->description);
/* Setup Target */