commit | 592d0bc0302ff5b5209ecd7f8733f285bc008cff | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Dec 13 19:32:45 2023 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jan 18 10:43:51 2024 +0100 |
tree | 26d4e2a901bf194ed8e5e344c01a2d43bcdb98b2 | |
parent | 729ba8e933f8af5800c3a92b37e630e9bdaa9f1e [diff] |
remove unnecessary casts from uintptr_t uintptr_t, or unsigned long which is equivalent on Linux I32LP64 systems, is an unsigned type and there is no need to further cast to __u64 which is another unsigned integer type; widening casts from unsigned integers zero-extend the value. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>