format for % was wrong
This commit is contained in:
parent
142a703f77
commit
ce1285d2eb
|
@ -15,7 +15,7 @@ ch7bin(pval, oper, val)
|
||||||
switch (oper) {
|
switch (oper) {
|
||||||
case '%':
|
case '%':
|
||||||
if (val == 0)
|
if (val == 0)
|
||||||
error("% by 0");
|
error("%% by 0");
|
||||||
else
|
else
|
||||||
*pval = *pval % val;
|
*pval = *pval % val;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue