From patchwork Wed Jul 18 14:10:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 10117 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id F369123E56 for ; Wed, 18 Jul 2012 14:10:38 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id C3943A180BC for ; Wed, 18 Jul 2012 14:10:38 +0000 (UTC) Received: by yhpp61 with SMTP id p61so1718102yhp.11 for ; Wed, 18 Jul 2012 07:10:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=9CGw0OGE9qUXj6EyLo3HeT6fo/XEVREQ+ydkkQ0S/IA=; b=S3HD7WQh84C/Qk1Jb7L4XGaUxAHqRgcgR+tjpdAYUF6eztHTJS4N7mN/WPOQjyP1GQ Xug/H1ZcybRx8WzIOs4k5tClLAmk6b1RssA6ztIHznJ/UQwtPeO6PnwwX3qZ9vyfcPw2 /DjLO9pbvZlLYiFdacHPI7EWu7vWlPaykmr+lpfexSSWuHWxuUbMDEOsbci09A9AqP1r LhGawfEvSZ+dbBCRsuSXB2ybhzqFSMp4TNnBJNsFADCAB7MPLhuGFV55+8Yt0RQj/tXc MtHIUWV7zreK7xPcAhH7cORV5uo/zwM1uYjVVT5V45M9LimJGJWd3/o1Qj6WtSUxFZl3 eUXA== Received: by 10.50.40.193 with SMTP id z1mr2223444igk.0.1342620637947; Wed, 18 Jul 2012 07:10:37 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.153.7 with SMTP id i7csp245ibw; Wed, 18 Jul 2012 07:10:35 -0700 (PDT) Received: by 10.204.156.17 with SMTP id u17mr1791239bkw.52.1342620634619; Wed, 18 Jul 2012 07:10:34 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id fs16si23994169bkc.11.2012.07.18.07.10.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 07:10:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SrUxQ-0003KM-KO; Wed, 18 Jul 2012 15:10:28 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Stefan Weil Subject: [PATCH 08/11] configure: Fix warnings in VDE library probe Date: Wed, 18 Jul 2012 15:10:25 +0100 Message-Id: <1342620628-12751-9-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> References: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQkISCq6Una8qfD79jY755v77cBkaYUYIacOXgwmUvdd55IyiofaWlOQGyHYfx1TVVSijcix Fix compile warnings in the VDE library probe ("passing argument 1 of 'vde_open_real' discards 'const' qualifier from pointer target type", ditto argument 2). Signed-off-by: Peter Maydell --- configure | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 784325a..9c2a84d 100755 --- a/configure +++ b/configure @@ -1820,7 +1820,8 @@ if test "$vde" != "no" ; then int main(void) { struct vde_open_args a = {0, 0, 0}; - vde_open("", "", &a); + char s[] = ""; + vde_open(s, s, &a); return 0; } EOF