mirror of https://github.com/proxmox/mirror_qemu
modules-test: fix const cast
Add a missing cast; this fixes a build failure with --enable-modules. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Miroslav Rezanina <mrezanin@redhat.com> Message-id: 1566495734-23297-1-git-send-email-pbonzini@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>master
parent
61146e9cb4
commit
0712c1b15b
|
@ -4,7 +4,7 @@
|
||||||
static void test_modules_load(const void *data)
|
static void test_modules_load(const void *data)
|
||||||
{
|
{
|
||||||
QTestState *qts;
|
QTestState *qts;
|
||||||
const char **args = data;
|
const char **args = (const char **)data;
|
||||||
|
|
||||||
qts = qtest_init(NULL);
|
qts = qtest_init(NULL);
|
||||||
qtest_module_load(qts, args[0], args[1]);
|
qtest_module_load(qts, args[0], args[1]);
|
||||||
|
|
Loading…
Reference in New Issue