|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PULL v2 58/60] qdev: add 64bit properties |
Date: | Sat, 20 Jun 2015 23:10:08 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 01/06/2015 14:25, Michael S. Tsirkin wrote: > +static uint64_t qdev_get_prop_mask64(Property *prop) > +{ > + assert(prop->info == &qdev_prop_bit); > + return 0x1 << prop->bitnr; This needs to be 1ull. Paolo > +} > +
[Prev in Thread] | Current Thread | [Next in Thread] |