diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-07-18 15:10:25 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-31 20:05:54 +0000 |
commit | fea08e0803f9cf2fc888c5b9fc0fd9b93a2272e7 (patch) | |
tree | 6d120ecaf82401ad6ae1ae483ed55a02fc8a167a /configure | |
parent | 7edc3fed5e48bf59744f67d319e32e2cca0cfa8e (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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |