From: Peter Maydell Date: Wed, 18 Jul 2012 14:10:25 +0000 (+0100) Subject: configure: Fix warnings in VDE library probe X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fea08e0803f9cf2fc888c5b9fc0fd9b93a2272e7;p=qemu.git configure: Fix warnings in VDE library probe 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 Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index b29cdd32df..d19e64532f 100755 --- a/configure +++ b/configure @@ -1822,7 +1822,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