Skip to content

Commit

Permalink
Silence another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed Aug 23, 2019
1 parent 12af2b3 commit af8be3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bn_mp_todecimal_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mp_err mp_todecimal_fast_rec(mp_int *number, mp_int *nL, mp_int *shiftL, mp_int
int s_s = left ? snprintf(next_piece, 4, "%u", mp_get_i32(number)) : snprintf(next_piece, 4, "%03u",
mp_get_i32(number));
int r_s = (int)strlen(*result);
(*result) = realloc(*result, r_s + s_s + 2);
(*result) = realloc(*result, (size_t) (r_s + s_s + 2));
strcat(*result, next_piece);
return MP_OKAY;
}
Expand Down

0 comments on commit af8be3a

Please sign in to comment.