Skip to content

Commit d775ba8

Browse files
committed
ext/bcmath: Fix [-Wenum-int-mismatch] compiler warning
1 parent 98288a2 commit d775ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bcmath/libbcmath/src/bcmath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int bc_modulo(bc_num num1, bc_num num2, bc_num *resul, int scale);
128128

129129
int bc_divmod(bc_num num1, bc_num num2, bc_num *quo, bc_num *rem, int scale);
130130

131-
int bc_raisemod(bc_num base, bc_num expo, bc_num mo, bc_num *result, int scale);
131+
zend_result bc_raisemod(bc_num base, bc_num expo, bc_num mo, bc_num *result, int scale);
132132

133133
void bc_raise(bc_num num1, bc_num num2, bc_num *resul, int scale);
134134

0 commit comments

Comments
 (0)