summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2011-07-27 06:22:51 +0000
committerJeffrey Yasskin <jyasskin@google.com>2011-07-27 06:22:51 +0000
commit6381c0100bd2ec50130942696cdc1662b93c6a02 (patch)
tree92413d1090b82b6cc72b2cf5c2eafac913a7ef6a /llvm/unittests
parentfb65e592e05a83eaa3e9cbd645bace6c68438500 (diff)
downloadbcm5719-llvm-6381c0100bd2ec50130942696cdc1662b93c6a02.tar.gz
bcm5719-llvm-6381c0100bd2ec50130942696cdc1662b93c6a02.zip
Explicitly cast narrowing conversions inside {}s that will become errors in
C++0x. llvm-svn: 136211
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
index a36ec3bf2a1..01cb7a98b32 100644
--- a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp
@@ -45,7 +45,7 @@ struct RecordingJITEventListener : public JITEventListener {
std::vector<FunctionEmittedEvent> EmittedEvents;
std::vector<FunctionFreedEvent> FreedEvents;
- int NextIndex;
+ unsigned NextIndex;
RecordingJITEventListener() : NextIndex(0) {}
OpenPOWER on IntegriCloud