X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=async.c;h=85cc6410c50259398beef693ec00b649823dcde3;hb=6cdf8854203e51a222c9ce94a8c8c568da834cf6;hp=332d511ed5e138fd27a7cecc0ee42ba1450a9605;hpb=d06cddf517d2b33389c02971b353d10dd4edda1a;p=qemu.git diff --git a/async.c b/async.c index 332d511ed..85cc6410c 100644 --- a/async.c +++ b/async.c @@ -35,10 +35,10 @@ static struct QEMUBH *first_bh; struct QEMUBH { QEMUBHFunc *cb; void *opaque; - int scheduled; - int idle; - int deleted; QEMUBH *next; + bool scheduled; + bool idle; + bool deleted; }; QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque) @@ -120,7 +120,7 @@ void qemu_bh_delete(QEMUBH *bh) bh->deleted = 1; } -void qemu_bh_update_timeout(int *timeout) +void qemu_bh_update_timeout(uint32_t *timeout) { QEMUBH *bh;