summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2020-10-12 07:57:49 -0700
committerAdrian Thurston <thurston@colm.net>2020-10-12 07:57:49 -0700
commit4296464598da8d8f25d2c58fb5df7ea03e081715 (patch)
tree3986ff323a355521c2739e03922d998f9e7fd07b
parentbd74865a0d0178d721e4ca5919eff2f823886fd0 (diff)
downloadragel-4296464598da8d8f25d2c58fb5df7ea03e081715.tar.gz
fixes for ruby alphtype
Need to use unsigned min/max fields for unsigned types. Fixed size.
-rw-r--r--src/host-rust/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host-rust/main.cc b/src/host-rust/main.cc
index edbf91db..e226046c 100644
--- a/src/host-rust/main.cc
+++ b/src/host-rust/main.cc
@@ -35,7 +35,7 @@ const char *defaultOutFnRust( const char *inputFileName )
HostType hostTypesRust[] =
{
- { "u8", 0, "byte", false, true, false, 0, UCHAR_MAX, 0, 0, 4 },
+ { "u8", 0, "byte", false, true, false, 0, 0, 0, UCHAR_MAX, 1 },
};
const HostLang hostLangRust =