linux-user: properly test for infinite timeout in poll #8

Merged
andreas-schwab merged 1 commits from opensuse-2.7 into opensuse-2.7 2016-09-08 11:21:05 +02:00

1 Commits

Author SHA1 Message Date
2f18b63257 linux-user: properly test for infinite timeout in poll
After "linux-user: use target_ulong" the poll syscall was no longer
handling infinite timeout.

/home/abuild/rpmbuild/BUILD/qemu-2.7.0-rc5/linux-user/syscall.c:9773:26: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
                 if (arg3 >= 0) {
                          ^~

Signed-off-by: Andreas Schwab <schwab@suse.de>
2016-09-08 11:12:11 +02:00