From b9f474e8448aab032afc7b4ae67f98c67464ff77 Mon Sep 17 00:00:00 2001 From: Garrit Franke Date: Tue, 10 Dec 2024 21:17:05 +0100 Subject: [PATCH] Fix lint --- src/generator/qbe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator/qbe.rs b/src/generator/qbe.rs index d14cb62..a2e9b05 100644 --- a/src/generator/qbe.rs +++ b/src/generator/qbe.rs @@ -139,7 +139,7 @@ impl QbeGenerator { offset = self.align_offset(offset, max_align); // Set the typedef's alignment - typedef.align = Some(max_align as u64); + typedef.align = Some(max_align); self.struct_map.insert( def.name.clone(),