From 55a5a278f8195123dcd00923e1eb95fc02114731 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 3 Jun 2025 10:11:02 +0200 Subject: [PATCH] base64: use more precise and compact type for mode --- rust/src/ffi/base64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/ffi/base64.rs b/rust/src/ffi/base64.rs index 711ca19e10..6befb5e3f9 100644 --- a/rust/src/ffi/base64.rs +++ b/rust/src/ffi/base64.rs @@ -31,7 +31,7 @@ pub enum SCBase64ReturnCode { SC_BASE64_OVERFLOW, } -#[repr(C)] +#[repr(u8)] #[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum SCBase64Mode { /* If the following strings were to be passed to the decoder with RFC2045 mode,