Fixed some warnings flagged by IAR C-STAT static analysis tool.

This commit is contained in:
skarg
2016-01-07 21:31:38 +00:00
parent dd0fb9c841
commit 0697065030
16 changed files with 51 additions and 52 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ uint8_t automac_free_address_random(
count = automac_free_address_count();
if (count) {
random_count = rand() % count;
random_count =(uint8_t)(rand() % count);
mac = automac_free_address_mac(random_count);
}