More LONGINT changes to INT64. Hopefully fixes android and pi builds.

This commit is contained in:
David Brown 2016-09-20 17:51:14 +01:00
parent 1a83167d5a
commit 0ea077814f
18 changed files with 113 additions and 94 deletions

View file

@ -275,7 +275,7 @@ static void OPP_ArrayType (OPT_Struct *typ, OPT_Struct *banned)
OPP_ConstExpression(&x);
if (x->typ->form == 4) {
n = x->conval->intval;
if (n <= 0 || n > (int64)OPM_MaxIndex) {
if (n <= 0 || n > OPM_MaxIndex) {
OPP_err(63);
n = 1;
}