projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7edc3fe
)
configure: Fix warnings in VDE library probe
author
Peter Maydell
<peter.maydell@linaro.org>
Wed, 18 Jul 2012 14:10:25 +0000
(15:10 +0100)
committer
Blue Swirl
<blauwirbel@gmail.com>
Tue, 31 Jul 2012 20:05:54 +0000
(20:05 +0000)
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>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index b29cdd32dfddb4c88704b45857a1809c68da1385..d19e64532f2c9c2ec36cae5099436b0a746c401d 100755
(executable)
--- 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