blob: 36a72aea57555c485fb0bd78e2849266327d5107 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
linux-user/mmap build failure using Clang 10
When building with Clang 10 on Fedora 32, we get:
CC linux-user/mmap.o
linux-user/mmap.c:720:49: error: result of comparison 'unsigned long' > 18446744073709551615 is always false [-Werror,-Wtautological-type-limit-compare]
if ((unsigned long)host_addr + new_size > (abi_ulong)-1) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
|