From 395c6641b2fc5751776b26baabec21ea8e83f375 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 14 Oct 2024 20:23:02 +0100 Subject: [Fix] Use unsigned char for ragel machines It seems that on aarch64 Linux char is signed by default, so Ragel produces a wrong code that is "optimized" by a compiler simply to `false`. Issue: #5172 --- src/ragel/smtp_base.rl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ragel/smtp_base.rl b/src/ragel/smtp_base.rl index eefc430d5..952c3a5c3 100644 --- a/src/ragel/smtp_base.rl +++ b/src/ragel/smtp_base.rl @@ -1,5 +1,6 @@ %%{ machine smtp_base; + alphtype unsigned char; # Base SMTP definitions # Dependencies: none -- cgit v1.2.3