mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Silence implicit conversion warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11d0088ec2
commit
9111c4fef5
@ -63,7 +63,7 @@ public:
|
||||
|
||||
StringRef getString() const { return Str; }
|
||||
|
||||
unsigned getLength() const { return Str.size(); }
|
||||
unsigned getLength() const { return (unsigned)Str.size(); }
|
||||
|
||||
typedef StringRef::iterator iterator;
|
||||
|
||||
@ -191,7 +191,7 @@ public:
|
||||
|
||||
/// getNumElements - Return number of NamedMDNode elements.
|
||||
unsigned getNumElements() const {
|
||||
return Node.size();
|
||||
return (unsigned)Node.size();
|
||||
}
|
||||
|
||||
/// addElement - Add metadata element.
|
||||
|
Loading…
Reference in New Issue
Block a user