diff options
author | Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> | 2010-05-19 22:53:44 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-05-21 11:49:19 +0200 |
commit | 792b45b142e6b901e1de20886bc3369211582b8c (patch) | |
tree | 88120fa9ffe2caf8caf1f8bd59847fb8aa8148ca /block/vvfat.c | |
parent | 396759ad4ad5289623eb7e1993c433ad4e7b13a1 (diff) | |
download | qemu-792b45b142e6b901e1de20886bc3369211582b8c.zip qemu-792b45b142e6b901e1de20886bc3369211582b8c.tar.gz qemu-792b45b142e6b901e1de20886bc3369211582b8c.tar.bz2 |
vvfat: Fix compilation with DEBUG defined
gcc does not like passing a NULL where an int value is expected:
block/vvfat.c: In function ‘checkpoint’:
block/vvfat.c:2868: error: passing argument 2 of ‘remove_mapping’ makes
integer from pointer without a cast
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vvfat.c')
-rw-r--r-- | block/vvfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/vvfat.c b/block/vvfat.c index ce16bbd..13c31fa 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -2865,7 +2865,7 @@ static void checkpoint(void) { return; /* avoid compiler warnings: */ hexdump(NULL, 100); - remove_mapping(vvv, NULL); + remove_mapping(vvv, 0); print_mapping(NULL); print_direntry(NULL); } |