]> Git Repo - qemu.git/commitdiff
Fix typo
authorPaul Brook <[email protected]>
Sat, 6 Jun 2009 01:49:32 +0000 (02:49 +0100)
committerPaul Brook <[email protected]>
Sat, 6 Jun 2009 01:49:43 +0000 (02:49 +0100)
Signed-off-by: Paul Brook <[email protected]>
hw/qdev.c

index 1023c6c37ae731c65d0258be8fee07c4ae8968c0..5175fe17fd66d219c55d6261e4a25a132b7e45fe 100644 (file)
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -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;
 }
 
This page took 0.027202 seconds and 4 git commands to generate.