Re: [PATCH] block-backend: Silence clang -m32 compiler warning

2021-11-02 Thread Kevin Wolf
Am 26.10.2021 um 11:07 hat Hanna Reitz geschrieben: > Similarly to e7e588d432d31ecebc26358e47201dd108db964c, there is a > warning in block/block-backend.c that qiov->size <= INT64_MAX is always > true on machines where size_t is narrower than a uint64_t. In said > commit, we silenced this warning

Re: [PATCH] block-backend: Silence clang -m32 compiler warning

2021-10-26 Thread Philippe Mathieu-Daudé
On 10/26/21 11:07, Hanna Reitz wrote: > Similarly to e7e588d432d31ecebc26358e47201dd108db964c, there is a > warning in block/block-backend.c that qiov->size <= INT64_MAX is always > true on machines where size_t is narrower than a uint64_t. In said > commit, we silenced this warning by casting to

[PATCH] block-backend: Silence clang -m32 compiler warning

2021-10-26 Thread Hanna Reitz
Similarly to e7e588d432d31ecebc26358e47201dd108db964c, there is a warning in block/block-backend.c that qiov->size <= INT64_MAX is always true on machines where size_t is narrower than a uint64_t. In said commit, we silenced this warning by casting to uint64_t. The commit introducing this warning