We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8979a2f commit 52540b6Copy full SHA for 52540b6
include/qom/object.h
@@ -582,7 +582,7 @@ struct TypeInfo
582
* specific class type.
583
*/
584
#ifdef CONFIG_QOM_CAST_DEBUG
585
-#define OBJECT_CLASS_CHECK(class_type, class, name) \
+#define OBJECT_CLASS_CHECK(class_type, class, objname, name) \
586
((class_type *)object_class_dynamic_cast_assert(OBJECT_CLASS(class), (name), \
587
__FILE__, __LINE__, __func__))
588
#else
0 commit comments