mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Cast because I think I know what I'm doing. There are warnings about converting
from 64-bit to 32-bit. llvm-svn: 51982
This commit is contained in:
parent
e60059744e
commit
cb6cdd495d
@ -1602,7 +1602,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned getNumIndices() const { // Note: always non-negative
|
unsigned getNumIndices() const { // Note: always non-negative
|
||||||
return Indices.size();
|
return (unsigned)Indices.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasIndices() const {
|
bool hasIndices() const {
|
||||||
@ -1781,7 +1781,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned getNumIndices() const { // Note: always non-negative
|
unsigned getNumIndices() const { // Note: always non-negative
|
||||||
return Indices.size();
|
return (unsigned)Indices.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasIndices() const {
|
bool hasIndices() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user