[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/11] configure: Fix warnings in VDE library probe
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 08/11] configure: Fix warnings in VDE library probe |
Date: |
Wed, 18 Jul 2012 15:10:25 +0100 |
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 <address@hidden>
---
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
--
1.7.5.4
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, (continued)
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Peter Maydell, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Peter Maydell, 2012/07/28
[Qemu-devel] [PATCH 05/11] configure: -march=i486 belongs in QEMU_CFLAGS, not CFLAGS, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 04/11] configure: Replace bash code by standard shell code, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 07/11] configure: Fix compile warning in PNG test, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 06/11] configure: Fix errors in test for__sync_fetch_and_and, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 08/11] configure: Fix warnings in VDE library probe,
Peter Maydell <=
Re: [Qemu-devel] [PATCH 00/11] configure: Fix -Werror issues, Blue Swirl, 2012/07/31