diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-17 21:38:21 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-02-22 19:52:09 +0100 |
commit | 0abfc4b885566eb41c3a4e1de5e2e105bdc062d9 (patch) | |
tree | 78148f230b948ffb4530620290e30d8e06aaf712 /target/mips/dsp_helper.c | |
parent | 363e13f86eb60bce1e112a35a4c107505a69c9fe (diff) |
tests: Don't check qobject_type() before qobject_to_qint()
qobject_to_qint(obj) returns NULL when obj isn't a QInt. Check
that instead of qobject_type(obj) == QTYPE_QINT.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1487363905-9480-11-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'target/mips/dsp_helper.c')
0 files changed, 0 insertions, 0 deletions