summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-03-12 10:03:32 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-03-12 10:03:32 +0800
commit0b5ed4f74da314b30df39de1ee5f88acd81353e7 (patch)
treeaa20634ee1abd862a4a1cc94dbfb54e2a0c15b78 /src
parent7249b41f12e690cea8f3ae44223689934dbb1fd4 (diff)
downloadmrust-0b5ed4f74da314b30df39de1ee5f88acd81353e7.tar.gz
Codegen C - Fix integer literal types
Diffstat (limited to 'src')
-rw-r--r--src/trans/codegen_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index 08cf3ac7..a1440422 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -2810,7 +2810,7 @@ namespace {
case ::HIR::CoreType::I64:
case ::HIR::CoreType::I128:
case ::HIR::CoreType::Isize:
- m_of << "ull";
+ m_of << "ll";
default:
break;
}