Skip to content

Commit 94e3050

Browse files
committed
additional casting in s_mp_faster_read_radix.c
1 parent f917ce7 commit 94e3050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s_mp_faster_read_radix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mp_err s_mp_faster_read_radix(mp_int *a, const char *str, size_t start, size_t e
3636

3737
len = end - start;
3838

39-
if (len < (s_read_radix_cutoff[radix] * MP_READ_RADIX_CUTOFF_MULTIPLICATOR)) {
39+
if (len < (size_t)(s_read_radix_cutoff[radix] * MP_READ_RADIX_CUTOFF_MULTIPLICATOR)) {
4040
return s_mp_slower_read_radix(a, str, start, end, radix);
4141
}
4242

0 commit comments

Comments
 (0)