From b60b303c5d24f718b0c14022b47ca1a838112ceb Mon Sep 17 00:00:00 2001 From: Greg King Date: Mon, 20 Jul 2020 21:40:44 -0400 Subject: [PATCH] Added a missing asterisk to a "hardware" struct definition. --- include/cx16.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cx16.h b/include/cx16.h index f129b26f4..87a6d37ca 100644 --- a/include/cx16.h +++ b/include/cx16.h @@ -290,7 +290,7 @@ struct __emul { unsigned char keymap; /* Keyboard layout number */ const char detect[2]; /* "16" if running on x16emu */ }; -#define EMULATOR (*(volatile struct __emul)0x9FB0) +#define EMULATOR (*(volatile struct __emul *)0x9FB0) /* An array window into the half Mebibyte or two Mebibytes of banked RAM */ #define BANK_RAM ((unsigned char[0x2000])0xA000)