mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
Fix typo
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
cae4956e5e
commit
db241f4032
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue