diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-25 12:27:24 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-26 16:39:29 +0200 |
commit | 168d46749d19f4808022b9a88c0846b3286aed59 (patch) | |
tree | 9b04ba321c0a23063f469a149e2e5d903b3a865f /chardev/char-parallel.c | |
parent | 973d3ea5a1c0573149b7004108276ca01cb05fd2 (diff) | |
download | qemu-168d46749d19f4808022b9a88c0846b3286aed59.zip qemu-168d46749d19f4808022b9a88c0846b3286aed59.tar.gz qemu-168d46749d19f4808022b9a88c0846b3286aed59.tar.bz2 |
m48t59-test: avoid possible overflow on ABS
Originally meant to avoid a shadowed variable "s", which was fixed by
renaming the outer declaration to "qts". Avoid the chance of an overflow
in the computation of ABS(t - s).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev/char-parallel.c')
0 files changed, 0 insertions, 0 deletions