Skip to content

Commit aef0ead

Browse files
committed
Use size_t for length
1 parent 58c281a commit aef0ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bcmath/libbcmath/src/recmul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static inline void bc_convert_to_uint(BC_UINT_T *n_uint, const char *nend, size_
9292
* If the n_values of n1 and n2 are both 4 (32-bit) or 8 (64-bit) digits or less,
9393
* the calculation will be performed at high speed without using an array.
9494
*/
95-
static inline void bc_fast_mul(bc_num n1, size_t n1len, bc_num n2, int n2len, bc_num *prod)
95+
static inline void bc_fast_mul(bc_num n1, size_t n1len, bc_num n2, size_t n2len, bc_num *prod)
9696
{
9797
const char *n1end = n1->n_value + n1len - 1;
9898
const char *n2end = n2->n_value + n2len - 1;

0 commit comments

Comments
 (0)