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;
}