summary refs log tree commit diff stats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-17 14:55:55 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-17 14:55:55 +0100
commit89a740e16cee362318bfd40a88616336bce87e2e (patch)
tree52da06d462bc6f69667b172bb722dfd35485a1cc /hw/qdev.c
parent979d98ca904bcad59f83908a540fa3a8ce56982d (diff)
downloadfocaccia-qemu-89a740e16cee362318bfd40a88616336bce87e2e.tar.gz
focaccia-qemu-89a740e16cee362318bfd40a88616336bce87e2e.zip
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>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index a8de27841b..9ed6f85cc4 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -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;