Skip to content
Snippets Groups Projects
Commit 59873511 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

Add explicit casts to size_t to try to appease MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280899 91177308-0d34-0410-b5e6-96231b3b80d8
parent 0d892e5f
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment