On 5/6/26 15:25, Fabiano Rosas wrote:
UBSAN complains:
runtime error: addition of unsigned offset to 0x7bc06e1f5000
overflowed to 0x7bc02e1f5000

Change tcg_splitwx_diff to ptrdiff_t and silence the error.

Signed-off-by: Fabiano Rosas <[email protected]>
---
  include/tcg/tcg.h | 2 +-
  tcg/tcg.c         | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>



Reply via email to