1
0
mirror of https://gitlab.com/qemu-project/qemu synced 2024-07-09 04:27:12 +00:00
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
Paul Brook 2009-06-06 02:49:32 +01:00
parent cae4956e5e
commit db241f4032

View File

@ -156,7 +156,7 @@ void qdev_set_prop_ptr(DeviceState *dev, const char *name, void *value)
{
DeviceProperty *prop;
prop = create_prop(dev, name, PROP_TYPE_INT);
prop = create_prop(dev, name, PROP_TYPE_PTR);
prop->value.ptr = value;
}