On Wed 01 Feb 2017 11:16:38 PM CET, Max Reitz <mre...@redhat.com> wrote:
> Thanks, applied to my block tree, with > %s/INT_MAX/BDRV_REQUEST_MAX_BYTES/g: I think you can use %d to print BDRV_REQUEST_MAX_BYTES, after all the definition guarantees that it won't be larger than MIN(SIZE_MAX,INT_MAX) But it's fine with me if you prefer to cast it to uint64_t, that way it'll remain valid if BDRV_REQUEST_MAX_BYTES is increased in the future. Berto