fix typo and parameters of overflow
This commit is contained in:
parent
5cf3fc1017
commit
78926a5a84
|
@ -295,10 +295,10 @@ cstubin(expp)
|
|||
if (expp->nd_type->tp_fund == T_INTORCARD) {
|
||||
expp->nd_type = int_type;
|
||||
if (! chk_bounds(min_int[sz], o1 - o2, T_CARDINAL)) {
|
||||
overflow();
|
||||
overflow(expp);
|
||||
}
|
||||
}
|
||||
else overflow();
|
||||
else overflow(expp);
|
||||
}
|
||||
o1 -= o2;
|
||||
break;
|
||||
|
|
|
@ -230,7 +230,7 @@ WalkProcedure(procedure)
|
|||
DoFilename(procedure->prc_body);
|
||||
TmpOpen(procscope);
|
||||
|
||||
func_type = tp = RemoveEqual(RresultType(procedure->df_type));
|
||||
func_type = tp = RemoveEqual(ResultType(procedure->df_type));
|
||||
|
||||
if (tp) {
|
||||
func_res_size = WA(tp->tp_size);
|
||||
|
|
Loading…
Reference in a new issue