From fea08e0803f9cf2fc888c5b9fc0fd9b93a2272e7 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 18 Jul 2012 15:10:25 +0100 Subject: [PATCH] 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 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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