diff options
author | Stefan Weil <sw@weilnetz.de> | 2011-12-17 17:46:02 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-12-19 11:03:42 +0000 |
commit | ef9a252442c84af64216fc3e9c5c2283cbb30995 (patch) | |
tree | 34917f2de774a1265fbb3bd30de0fbfe1d20cbd6 /configure | |
parent | 182eacc0fdd860ac60fa6fcf40429caa15e8328a (diff) | |
download | qemu-ef9a252442c84af64216fc3e9c5c2283cbb30995.tar.gz qemu-ef9a252442c84af64216fc3e9c5c2283cbb30995.tar.bz2 qemu-ef9a252442c84af64216fc3e9c5c2283cbb30995.zip |
configure: Fix compiler warning in config.log (integer from pointer)
warning: return makes integer from pointer without a cast
v2: Removed type cast.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1841,7 +1841,11 @@ if test "$curses" != "no" ; then #ifdef __OpenBSD__ #define resize_term resizeterm #endif -int main(void) { resize_term(0, 0); return curses_version(); } +int main(void) { + const char *s = curses_version(); + resize_term(0, 0); + return s != 0; +} EOF for curses_lib in $curses_list; do if compile_prog "" "$curses_lib" ; then |