diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2011-07-27 06:22:51 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2011-07-27 06:22:51 +0000 |
commit | a44defeb2208376ca3113ffdddc391570ba865b8 (patch) | |
tree | 838cd3303465775b10091320e66e47e53d29eb9a /unittests | |
parent | cbdccdeea96f26198fc8225c1a32c04ca01f8a26 (diff) |
Explicitly cast narrowing conversions inside {}s that will become errors in
C++0x.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp b/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp index a36ec3bf2a..01cb7a98b3 100644 --- a/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp +++ b/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) {} |