Index: src/IceInst.cpp |
diff --git a/src/IceInst.cpp b/src/IceInst.cpp |
index a3d4ee68ab4896fc59a9d5885c0b49512e299a12..cfcaad3b1fe8e6185cc485d6c78d3d807001862d 100644 |
--- a/src/IceInst.cpp |
+++ b/src/IceInst.cpp |
@@ -663,8 +663,8 @@ void InstSwitch::dump(const Cfg *Func) const { |
getSrc(0)->dump(Func); |
Str << ", label %" << getLabelDefault()->getName() << " [\n"; |
for (SizeT I = 0; I < getNumCases(); ++I) { |
- Str << " " << Ty << " " << getValue(I) << ", label %" |
- << getLabel(I)->getName() << "\n"; |
+ Str << " " << Ty << " " << static_cast<int64_t>(getValue(I)) |
+ << ", label %" << getLabel(I)->getName() << "\n"; |
} |
Str << " ]"; |
} |