diff options
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2774,7 +2774,7 @@ static void *file_ram_alloc(RAMBlock *block, static ram_addr_t find_ram_offset(ram_addr_t size) { RAMBlock *block, *next_block; - ram_addr_t offset, mingap = ULONG_MAX; + ram_addr_t offset = 0, mingap = ULONG_MAX; if (QLIST_EMPTY(&ram_list.blocks)) return 0; |