diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2012-10-31 16:34:35 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-11-14 18:19:21 +0100 |
commit | 8c82e9a4331bad42dfc01158fbd1e8f4c2f1c957 (patch) | |
tree | bcac45de073d84ed5cea2b50c52df4b643dc7911 | |
parent | a9660664fde89ef2c7bc629eda547a48b288fbb9 (diff) | |
download | qemu-8c82e9a4331bad42dfc01158fbd1e8f4c2f1c957.zip qemu-8c82e9a4331bad42dfc01158fbd1e8f4c2f1c957.tar.gz qemu-8c82e9a4331bad42dfc01158fbd1e8f4c2f1c957.tar.bz2 |
aio: switch aiocb_size type int -> size_t
Using appropriate types for variables is a good thing :). All users
simply do sizeof(MyType) and the value is passed to a memory allocator,
it should be size_t.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | qemu-aio.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ typedef void BlockDriverCompletionFunc(void *opaque, int ret); typedef struct AIOPool { void (*cancel)(BlockDriverAIOCB *acb); - int aiocb_size; + size_t aiocb_size; BlockDriverAIOCB *free_aiocb; } AIOPool; |