mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-24 00:18:36 -07:00
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>
This commit is contained in:
parent
7edc3fed5e
commit
fea08e0803
1 changed files with 2 additions and 1 deletions
3
configure
vendored
3
configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue