From 087997ce5ce457ce836e62cd0ca3ea2796002dcd Mon Sep 17 00:00:00 2001 From: augustin64 Date: Tue, 25 Jun 2024 09:34:30 +0200 Subject: [PATCH] Fix substraction with overflow --- cache_slice/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache_slice/src/lib.rs b/cache_slice/src/lib.rs index 6c30982..d2df003 100644 --- a/cache_slice/src/lib.rs +++ b/cache_slice/src/lib.rs @@ -79,7 +79,7 @@ unsafe fn monitor_xeon(addr: *const u8, cpu: u8, max_cbox: usize) -> Result