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 @@ -3048,7 +3048,7 @@ PUBLIC dbx_errno_t NOTHROW(FCALL cexpr_op2)(unsigned int op) {
30483048 if unlikely (!rhs_value )
30493049 return DBX_EDIVZERO ;
30503050 if (is_signed ) {
3051- lhs_value = (uintmax_t )((intmax_t )lhs_value / rhs_value );
3051+ lhs_value = (uintmax_t )((intmax_t )lhs_value / ( intmax_t ) rhs_value );
30523052 } else {
30533053 lhs_value /= rhs_value ;
30543054 }
@@ -3060,7 +3060,7 @@ PUBLIC dbx_errno_t NOTHROW(FCALL cexpr_op2)(unsigned int op) {
30603060 if unlikely (!rhs_value )
30613061 return DBX_EDIVZERO ;
30623062 if (is_signed ) {
3063- lhs_value = (uintmax_t )((intmax_t )lhs_value % rhs_value );
3063+ lhs_value = (uintmax_t )((intmax_t )lhs_value % ( intmax_t ) rhs_value );
30643064 } else {
30653065 lhs_value %= rhs_value ;
30663066 }
You can’t perform that action at this time.
0 commit comments