From f1674bdd9752b143bd50f3323305d1e1a7af27cf Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Thu, 6 Jul 2023 13:59:50 +0200 Subject: [PATCH] u16 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3b8a984..ccdb358 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,7 +12,7 @@ mod tokens_cpp; bitflags! { #[rustfmt::skip] #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)] - struct CFGFlags: u32 { + struct CFGFlags: u16 { const SAVE = 1 << 0; const CLIENT = 1 << 1; const SERVER = 1 << 2;