Accesses to byte global variables are compiled correctly now.

[GB.JIT]
* BUG: Accesses to byte global variables are compiled correctly now.
This commit is contained in:
gambas 2018-08-12 00:22:44 +02:00
parent 244b02c1a5
commit a2123c7f27

View file

@ -301,7 +301,7 @@ enum
#define ADDR_UNSAFE(_val) ((char *)((_val).value))
#define GET_b(_addr) (*(bool *)(_addr))
#define GET_c(_addr) (*(uchar *)()_addr))
#define GET_c(_addr) (*(uchar *)(_addr))
#define GET_h(_addr) (*(short *)(_addr))
#define GET_i(_addr) (*(int *)(_addr))
#define GET_l(_addr) (*(int64_t *)(_addr))