aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-08-22 19:42:13 +0200
committerPeter Maydell <peter.maydell@linaro.org>2019-08-23 13:36:26 +0100
commit0712c1b15b31a516264c89d822129939317af42a (patch)
tree8cabb7d7a50208cefd581f778088a3da40887825
parent61146e9cb40c3f13f94447fe311efe73b1f2494b (diff)
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>
-rw-r--r--tests/modules-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules-test.c b/tests/modules-test.c
index 3aef0e5a19..a8118e9042 100644
--- a/tests/modules-test.c
+++ b/tests/modules-test.c
@@ -4,7 +4,7 @@
static void test_modules_load(const void *data)
{
QTestState *qts;
- const char **args = data;
+ const char **args = (const char **)data;
qts = qtest_init(NULL);
qtest_module_load(qts, args[0], args[1]);