]> git.ipfire.org Git - thirdparty/qemu.git/commit
util/stats64: Fix min/max comparisons
authorMax Reitz <mreitz@redhat.com>
Tue, 14 Nov 2017 23:22:23 +0000 (00:22 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 6 Dec 2017 15:53:22 +0000 (09:53 -0600)
commitd6c99e8ff5c7e46ced686c7773cd9c5faf3e844e
treecaeb9959003d65d1daa28167b96cbd843432b31e
parent56a10ff664cf1a9be5dc97695e1cb7f028d1ab38
util/stats64: Fix min/max comparisons

stat64_min_slow() and stat64_max_slow() compare the wrong way.  This
makes iotest 136 fail with clang and -m32.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20171114232223.25207-1-mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 26a5db322be1e424a815d070ddd04442a5e5df50)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
util/stats64.c