mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Consistently use uint64_t for int properties
I apparently failed to do this properly on the first attempt. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
979d98ca90
commit
89a740e16c
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@
|
|||
struct DeviceProperty {
|
||||
const char *name;
|
||||
union {
|
||||
int i;
|
||||
uint64_t i;
|
||||
void *ptr;
|
||||
} value;
|
||||
DeviceProperty *next;
|
||||
|
@ -120,7 +120,7 @@ static DeviceProperty *create_prop(DeviceState *dev, const char *name)
|
|||
return prop;
|
||||
}
|
||||
|
||||
void qdev_set_prop_int(DeviceState *dev, const char *name, int value)
|
||||
void qdev_set_prop_int(DeviceState *dev, const char *name, uint64_t value)
|
||||
{
|
||||
DeviceProperty *prop;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue