Add missing parentheses.
This commit is contained in:
parent
4417a13f9f
commit
8afbf4fe69
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ mifare_application_find (Mad mad, MadAid aid)
|
||||||
size_t res_count = count_aids (mad, aid);
|
size_t res_count = count_aids (mad, aid);
|
||||||
|
|
||||||
if (res_count)
|
if (res_count)
|
||||||
res = malloc (sizeof (*res) * res_count + 1);
|
res = malloc (sizeof (*res) * (res_count + 1));
|
||||||
|
|
||||||
size_t r = FIRST_SECTOR, w = 0;
|
size_t r = FIRST_SECTOR, w = 0;
|
||||||
if (res) {
|
if (res) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue