-
由 Eduardo Habkost 提交于
The QJSON code used casts to (QJSON*) directly, instead of OBJECT_CHECK. There were even some functions using object_dynamic_cast() calls followed by assert(), which is exactly what OBJECT_CHECK does (by calling object_dynamic_cast_assert()). Signed-off-by: NEduardo Habkost <ehabkost@redhat.com> Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
4cf2d837