Skip to content

Commit e7f9864

Browse files
committed
DEBUG expand maro
1 parent 22254ed commit e7f9864

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/gmp/gmp.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,10 @@ static int gmp_do_operation_ex(zend_uchar opcode, zval *result, zval *op1, zval
370370
{
371371
switch (opcode) {
372372
case ZEND_ADD:
373-
DO_BINARY_UI_OP(mpz_add);
373+
gmp_zval_binary_ui_op(
374+
result, op1, op2, mpz_add, mpz_add ## _ui, 0, /* is_operator */ true);
375+
if (UNEXPECTED(EG(exception))) { return FAILURE; }
376+
return SUCCESS;
374377
case ZEND_SUB:
375378
DO_BINARY_UI_OP(mpz_sub);
376379
case ZEND_MUL:

0 commit comments

Comments
 (0)