summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-18 15:10:25 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-07-31 20:05:54 +0000
commitfea08e0803f9cf2fc888c5b9fc0fd9b93a2272e7 (patch)
tree6d120ecaf82401ad6ae1ae483ed55a02fc8a167a
parent7edc3fed5e48bf59744f67d319e32e2cca0cfa8e (diff)
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> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-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