Skip to content

Commit

Permalink
force ragel alphtype to unsigned char, fixing non-ASCII TXT parsing o…
Browse files Browse the repository at this point in the history
…n signed char platforms like s390x
  • Loading branch information
Peter van Dijk committed Oct 24, 2013
1 parent c62d41b commit 916a0fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdns/dnslabeltext.rl
Expand Up @@ -22,6 +22,7 @@ vector<string> segmentDNSText(const string& input )
%%{ %%{
machine dnstext; machine dnstext;
write data; write data;
alphtype unsigned char;
}%% }%%
(void)dnstext_error; // silence warnings (void)dnstext_error; // silence warnings
(void)dnstext_en_main; (void)dnstext_en_main;
Expand Down

0 comments on commit 916a0fd

Please sign in to comment.