Commit db241f403213807a3ab9ea9eb88649dcbf71dba4
1 parent
cae4956e
Fix typo
Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing
1 changed file
with
1 additions
and
1 deletions
hw/qdev.c
... | ... | @@ -156,7 +156,7 @@ void qdev_set_prop_ptr(DeviceState *dev, const char *name, void *value) |
156 | 156 | { |
157 | 157 | DeviceProperty *prop; |
158 | 158 | |
159 | - prop = create_prop(dev, name, PROP_TYPE_INT); | |
159 | + prop = create_prop(dev, name, PROP_TYPE_PTR); | |
160 | 160 | prop->value.ptr = value; |
161 | 161 | } |
162 | 162 | ... | ... |