run make astyle

This commit is contained in:
Steffen Jaeckel 2019-04-06 17:37:48 +02:00
parent 179daef123
commit cf80753764
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ void mp_clear(mp_int *a)
}
/* free ram */
XFREE(a->dp, sizeof (mp_digit) * (size_t)a->alloc);
XFREE(a->dp, sizeof(mp_digit) * (size_t)a->alloc);
/* reset members to make debugging easier */
a->dp = NULL;

View File

@ -30,7 +30,7 @@ int mp_grow(mp_int *a, int size)
* to overwrite the dp member of a.
*/
tmp = (mp_digit *) XREALLOC(a->dp,
(size_t)a->alloc * sizeof (mp_digit),
(size_t)a->alloc * sizeof(mp_digit),
(size_t)size * sizeof(mp_digit));
if (tmp == NULL) {
/* reallocation failed but "a" is still valid [can be freed] */

View File

@ -24,7 +24,7 @@ int mp_shrink(mp_int *a)
if (a->alloc != used) {
if ((tmp = (mp_digit *) XREALLOC(a->dp,
(size_t)a->alloc * sizeof (mp_digit),
(size_t)a->alloc * sizeof(mp_digit),
(size_t)used * sizeof(mp_digit))) == NULL) {
return MP_MEM;
}