aboutsummaryrefslogtreecommitdiff
path: root/hw/flash.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-10 00:33:13 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-10 00:33:13 +0000
commit2e8c191795768429b7f621b17b0194f2298668c0 (patch)
tree3f699c0136a7f562a805b75f54ced7d0c4dd2fa7 /hw/flash.h
parent88eeee0a31c696b26f8df3dfe2221b955f8d878e (diff)
downloadqemu-2e8c191795768429b7f621b17b0194f2298668c0.zip
qemu-2e8c191795768429b7f621b17b0194f2298668c0.tar.gz
qemu-2e8c191795768429b7f621b17b0194f2298668c0.tar.bz2
Fix incompatible declaration in previous commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3795 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/flash.h b/hw/flash.h
index 95ac628..d07f6a1 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -10,8 +10,8 @@ pflash_t *pflash_cfi01_register(target_phys_addr_t base, ram_addr_t off,
/* pflash_cfi02.c */
pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off,
- BlockDriverState *bs,
- uint32_t sector_len, int nb_blocs, int width,
+ BlockDriverState *bs, target_ulong sector_len,
+ int nb_blocs, int width,
uint16_t id0, uint16_t id1,
uint16_t id2, uint16_t id3);