From patchwork Thu Aug 22 17:42:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 11109725 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F6F0112C for ; Thu, 22 Aug 2019 17:42:51 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70F4920856 for ; Thu, 22 Aug 2019 17:42:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70F4920856 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:46802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0r6o-0004fJ-FJ for patchwork-qemu-devel@patchwork.kernel.org; Thu, 22 Aug 2019 13:42:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42945) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0r6J-0003ox-Is for qemu-devel@nongnu.org; Thu, 22 Aug 2019 13:42:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0r6I-0004iI-HD for qemu-devel@nongnu.org; Thu, 22 Aug 2019 13:42:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i0r6I-0004hx-C3 for qemu-devel@nongnu.org; Thu, 22 Aug 2019 13:42:18 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AF1153086213; Thu, 22 Aug 2019 17:42:17 +0000 (UTC) Received: from 640k.localdomain.com (ovpn-112-20.ams2.redhat.com [10.36.112.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7EE1660603; Thu, 22 Aug 2019 17:42:16 +0000 (UTC) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 22 Aug 2019 19:42:13 +0200 Message-Id: <1566495734-23297-1-git-send-email-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Thu, 22 Aug 2019 17:42:17 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] modules-test: fix const cast X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Paolo Bonzini Reviewed-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Miroslav Rezanina --- tests/modules-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules-test.c b/tests/modules-test.c index 3aef0e5..a8118e9 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]);