[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Reid Spencer
reid at x10sys.com
Wed Jan 10 23:58:34 PST 2007
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.245 -> 1.246
---
Log message:
Shut up a warning about signed/unsigned.
---
Diffs of the changes: (+1 -1)
AsmWriter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.245 llvm/lib/VMCore/AsmWriter.cpp:1.246
--- llvm/lib/VMCore/AsmWriter.cpp:1.245 Wed Jan 10 22:30:21 2007
+++ llvm/lib/VMCore/AsmWriter.cpp Thu Jan 11 01:58:19 2007
@@ -1495,7 +1495,7 @@
// Lookup the value in the module plane's map.
ValueMap::const_iterator MVI = MI->second.map.find(V);
- return MVI != MI->second.map.end() ? MVI->second : -1;
+ return MVI != MI->second.map.end() ? int(MVI->second) : -1;
}
More information about the llvm-commits
mailing list