File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -861,14 +861,14 @@ overflow: ZEND_ATTRIBUTE_COLD_LABEL
861861#elif defined(ZEND_WIN32 ) && SIZEOF_LONG == SIZEOF_ZEND_LONG
862862 long lresult ;
863863 if (UNEXPECTED (FAILED (LongSub (Z_LVAL_P (op1 ), Z_LVAL_P (op2 ), & lresult )))) {
864- ZVAL_DOUBLE (result , (double ) Z_LVAL_P (op1 ) + (double ) Z_LVAL_P (op2 ));
864+ ZVAL_DOUBLE (result , (double ) Z_LVAL_P (op1 ) - (double ) Z_LVAL_P (op2 ));
865865 } else {
866866 ZVAL_LONG (result , lresult );
867867 }
868868#elif defined(ZEND_WIN32 ) && SIZEOF_LONG_LONG == SIZEOF_ZEND_LONG
869869 long long llresult ;
870870 if (UNEXPECTED (FAILED (LongLongSub (Z_LVAL_P (op1 ), Z_LVAL_P (op2 ), & llresult )))) {
871- ZVAL_DOUBLE (result , (double ) Z_LVAL_P (op1 ) + (double ) Z_LVAL_P (op2 ));
871+ ZVAL_DOUBLE (result , (double ) Z_LVAL_P (op1 ) - (double ) Z_LVAL_P (op2 ));
872872 } else {
873873 ZVAL_LONG (result , llresult );
874874 }
You can’t perform that action at this time.
0 commit comments