summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-10 15:24:49 +0100
committertwinaphex2014-12-10 15:24:49 +0100
commit8bda867c2b3eba078e74051939d30578825eecf2 (patch)
tree0c9994c9da4bdf4e5e6e9678fb52ec3231e92ea7
parentb3fe5aa3e41971dbe8d4b16a2ae33d5755851dd9 (diff)
downloadpicogpsp-8bda867c2b3eba078e74051939d30578825eecf2.tar.gz
picogpsp-8bda867c2b3eba078e74051939d30578825eecf2.tar.bz2
picogpsp-8bda867c2b3eba078e74051939d30578825eecf2.zip
Fix one warning in Clang
-rw-r--r--gba_memory.c2
1 files changed, 1 insertions, 1 deletions
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: