mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-08 19:18:32 +00:00
Cast because I think I know what I'm doing. There are warnings about converting
from 64-bit to 32-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user