aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-30 15:09:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-07-30 15:09:41 +0100
commit4ad78dc54664808abc6b8276fac941d5d6c45fe7 (patch)
tree7deb67bdb238521ff750d50e1a5981e066a7e0ba
parente517d757cc95245709090308e48f2ba2333c06f8 (diff)
downloadqemu-arm-4ad78dc54664808abc6b8276fac941d5d6c45fe7.tar.gz
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 <peter.maydell@linaro.org>
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
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