Commit 2e8c191795768429b7f621b17b0194f2298668c0

Authored by balrog
1 parent 88eeee0a

Fix incompatible declaration in previous commit.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3795 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
hw/flash.h
... ... @@ -10,8 +10,8 @@ pflash_t *pflash_cfi01_register(target_phys_addr_t base, ram_addr_t off,
10 10  
11 11 /* pflash_cfi02.c */
12 12 pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
13   - BlockDriverState *bs,
14   - uint32_t sector_len, int nb_blocs, int width,
  13 + BlockDriverState *bs, target_ulong sector_len,
  14 + int nb_blocs, int width,
15 15 uint16_t id0, uint16_t id1,
16 16 uint16_t id2, uint16_t id3);
17 17  
... ...