]> git.proxmox.com Git - mirror_qemu.git/commit
aio: switch aiocb_size type int -> size_t
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 31 Oct 2012 15:34:35 +0000 (16:34 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Nov 2012 17:19:21 +0000 (18:19 +0100)
commit8c82e9a4331bad42dfc01158fbd1e8f4c2f1c957
treebcac45de073d84ed5cea2b50c52df4b643dc7911
parenta9660664fde89ef2c7bc629eda547a48b288fbb9
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>
qemu-aio.h