Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
Paul Brook
2009-06-06 02:49:43 +01:00
parent cae4956e5e
commit db241f4032
+1 -1
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;
}