summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index fcd7dbf2..760339fe 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -927,7 +927,7 @@ namespace {
repr = ::HIR::Enum::Repr::U32;
}
else if( repr_str == "u64") {
- repr = ::HIR::Enum::Repr::U32;
+ repr = ::HIR::Enum::Repr::U64;
}
else if( repr_str == "usize") {
repr = ::HIR::Enum::Repr::Usize;