diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-15 19:02:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-15 19:02:35 +0000 |
commit | c063502e326fe0206942192773b263a3d88d93f5 (patch) | |
tree | b7ed7ed11dc2f82783b082a39bbbc7a0c5863a0c /include/llvm/BasicBlock.h | |
parent | 96326f9d312585532c95dcc31626f45f16cd5dd8 (diff) |
Warning fixes for VC++, contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/BasicBlock.h')
-rw-r--r-- | include/llvm/BasicBlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 0ede5f3072..ed9794207a 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -121,7 +121,7 @@ public: inline reverse_iterator rend () { return InstList.rend(); } inline const_reverse_iterator rend () const { return InstList.rend(); } - inline unsigned size() const { return InstList.size(); } + inline size_t size() const { return InstList.size(); } inline bool empty() const { return InstList.empty(); } inline const Instruction &front() const { return InstList.front(); } inline Instruction &front() { return InstList.front(); } |