diff options
| author | bhgv <bhgv.empire@gmail.com> | 2020-05-28 12:49:41 +0300 |
|---|---|---|
| committer | bhgv <bhgv.empire@gmail.com> | 2020-05-28 12:49:41 +0300 |
| commit | 2b3bc21f3f7edb429302e81f54d2e3c0e89e5acb (patch) | |
| tree | a6ddafb5f0ebcdf9bca3fd8e4f56874e6faf15bd /include/interp.h | |
| parent | 8d7c6b15fa5733a3070003520a1d869c0635ef82 (diff) | |
sup. FreeRTOS riscV-64 (k210 cpu). 4th step
Diffstat (limited to 'include/interp.h')
| -rw-r--r-- | include/interp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/interp.h b/include/interp.h index b9fc11f..dbc1f07 100644 --- a/include/interp.h +++ b/include/interp.h @@ -1,6 +1,6 @@ typedef uchar BYTE; /* 8 bits */ -typedef int WORD; /* 32 bits */ -typedef unsigned int UWORD; /* 32 bits */ +typedef long WORD; /* 32 bits */ +typedef unsigned long UWORD; /* 32 bits */ typedef vlong LONG; /* 64 bits */ typedef uvlong ULONG; /* 64 bits */ typedef double REAL; /* 64 double IEEE754 */ @@ -29,7 +29,7 @@ enum /* STRUCTALIGN is the unit to which the compiler aligns structs. */ /* It really should be defined somewhere else */ - STRUCTALIGN = sizeof(int) /* must be >=2 because of Strings */ + STRUCTALIGN = sizeof(long) /* must be >=2 because of Strings */ }; enum |
