From 4f7ff2b91d7c79dde38ef6ed8b6b459ac1f9d66e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 10 Dec 2014 15:25:29 +0100 Subject: Convert enum to sram_type_size to avoid warning --- gba_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gba_memory.c') diff --git a/gba_memory.c b/gba_memory.c index ab917c1..8c5541c 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -2125,7 +2125,7 @@ u32 load_backup(char *name) // Could be either flash or SRAM, go with flash case 0x10000: backup_type = BACKUP_FLASH; - sram_size = (flash_size_type)FLASH_SIZE_64KB; + sram_size = (sram_size_type)FLASH_SIZE_64KB; break; case 0x20000: -- cgit v1.2.3