From 658bb18b57ca213b80dd0f8e67af687a48558814 Mon Sep 17 00:00:00 2001 From: Curtis F Kaylor Date: Sat, 21 Dec 2019 09:13:34 -0500 Subject: [PATCH] Fixed const array declaration values greater than 127 --- src/vars.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/vars.h b/src/vars.h index 94a8f1d..5174cc8 100644 --- a/src/vars.h +++ b/src/vars.h @@ -48,13 +48,13 @@ int mbrsiz; //Member Size enum vtypes {VTVOID, VTREG, VTCHAR, VTINT, VTARRAY, VTSTRUCT}; //Variable Types -char datvar[DATASPC+1]; //Variable Data Storage -int datlen[MAXVAR+1]; //Variable Data Length -char dattyp[MAXVAR+1]; //Variable Data Type -char dattmp[DATASPC+1]; //Variable Temporary Data -int dtype; //Data Type -int dlen; //Length of Variable Data -int dsize; //Total Data Length +unsigned char datvar[DATASPC+1]; //Variable Data Storage +int datlen[MAXVAR+1]; //Variable Data Length +char dattyp[MAXVAR+1]; //Variable Data Type +char dattmp[DATASPC+1]; //Variable Temporary Data +int dtype; //Data Type +int dlen; //Length of Variable Data +int dsize; //Total Data Length enum dtypes {DTBYTE, DTINT, DTSTR, DTARRY}; //Variable Data Types