diff options
author | Adam Chodorowski <adam@chodorowski.com> | 2017-12-28 16:48:01 +0100 |
---|---|---|
committer | John Hodge (Mutabah) <acessdev@gmail.com> | 2017-12-29 08:37:10 +0800 |
commit | d41143ff34ec44315cecf9413b9d4de399199447 (patch) | |
tree | 2451ce105512343e873127aced6bbe67da96d863 /src/trans/codegen_c.cpp | |
parent | a8bd3db91c77093e4bfdd62cf45d9313ac26b897 (diff) | |
download | mrust-d41143ff34ec44315cecf9413b9d4de399199447.tar.gz |
Fix enums with `repr(u64)`
Diffstat (limited to 'src/trans/codegen_c.cpp')
-rw-r--r-- | src/trans/codegen_c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp index 59bb4921..cef90828 100644 --- a/src/trans/codegen_c.cpp +++ b/src/trans/codegen_c.cpp @@ -1203,7 +1203,7 @@ namespace { m_of << "\tuint32_t TAG;\n"; break; case ::HIR::Enum::Repr::U64: - m_of << "\tuint32_t TAG;\n"; + m_of << "\tuint64_t TAG;\n"; break; } m_of << "};\n"; |