From: Peter Maydell Date: Wed, 18 Jul 2012 14:10:25 +0000 (+0100) Subject: configure: Fix warnings in VDE library probe X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3827 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fea08e0803f9cf2fc888c5b9fc0fd9b93a2272e7;p=sdk%2Femulator%2Fqemu.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 b29cdd3..d19e645 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