summaryrefslogtreecommitdiff
path: root/src/trans/target.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-11-24 15:09:17 +0800
committerJohn Hodge <tpg@mutabah.net>2019-11-24 15:09:17 +0800
commitec78d24bd3d22b383d71d9c3ef261044da403c98 (patch)
treee268d4200f831f11da010a1a81c38ece9f682160 /src/trans/target.cpp
parent25aff26fb8ced9c032c5593ad6acdd78b09d225f (diff)
downloadmrust-ec78d24bd3d22b383d71d9c3ef261044da403c98.tar.gz
Misc - Warning tweaks to make MSVC be quiet
Diffstat (limited to 'src/trans/target.cpp')
-rw-r--r--src/trans/target.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trans/target.cpp b/src/trans/target.cpp
index de5492a8..0f4c6320 100644
--- a/src/trans/target.cpp
+++ b/src/trans/target.cpp
@@ -1147,7 +1147,7 @@ namespace {
{
pow8 = ::std::max(pow8, 2);
}
- else if( -0x80000000 <= v2 && v2 < 0x80000000 )
+ else if( -0x80000000ll <= v2 && v2 < 0x80000000ll )
{
pow8 = ::std::max(pow8, 3);
}