Add missing parentheses.

This commit is contained in:
Romain Tartiere 2010-07-03 06:28:35 +00:00
parent 4417a13f9f
commit 8afbf4fe69

View file

@ -184,7 +184,7 @@ mifare_application_find (Mad mad, MadAid aid)
size_t res_count = count_aids (mad, aid);
if (res_count)
res = malloc (sizeof (*res) * res_count + 1);
res = malloc (sizeof (*res) * (res_count + 1));
size_t r = FIRST_SECTOR, w = 0;
if (res) {