mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 19:01:55 +00:00
Add explicit casts to size_t to try to appease MSVC.
llvm-svn: 280899
This commit is contained in:
parent
c84921774f
commit
f3fe5a7445
@ -243,11 +243,11 @@ public:
|
||||
~VTableLayout();
|
||||
|
||||
ArrayRef<VTableComponent> vtable_components() const {
|
||||
return {VTableComponents.get(), NumVTableComponents};
|
||||
return {VTableComponents.get(), size_t(NumVTableComponents)};
|
||||
}
|
||||
|
||||
ArrayRef<VTableThunkTy> vtable_thunks() const {
|
||||
return {VTableThunks.get(), NumVTableThunks};
|
||||
return {VTableThunks.get(), size_t(NumVTableThunks)};
|
||||
}
|
||||
|
||||
uint64_t getAddressPoint(BaseSubobject Base) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user