Fixed: % and / were interchanged
This commit is contained in:
parent
d801356f1e
commit
86cb2d66d7
|
@ -55,7 +55,7 @@ ch3bin(pval, pis_uns, oper, val, is_uns)
|
|||
#endif
|
||||
}
|
||||
else {
|
||||
*pval = *pval % val;
|
||||
*pval = *pval / val;
|
||||
}
|
||||
break;
|
||||
case '%':
|
||||
|
@ -89,7 +89,7 @@ ch3bin(pval, pis_uns, oper, val, is_uns)
|
|||
#endif
|
||||
}
|
||||
else {
|
||||
*pval = *pval / val;
|
||||
*pval = *pval % val;
|
||||
}
|
||||
break;
|
||||
case '*':
|
||||
|
|
Loading…
Reference in a new issue