From 8bda867c2b3eba078e74051939d30578825eecf2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 10 Dec 2014 15:24:49 +0100 Subject: Fix one warning in Clang --- gba_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gba_memory.c b/gba_memory.c index 9ef3e8e..ab917c1 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_64KB; + sram_size = (flash_size_type)FLASH_SIZE_64KB; break; case 0x20000: -- cgit v1.2.3