diff --git a/include/swift/ABI/ValueWitnessTable.h b/include/swift/ABI/ValueWitnessTable.h index 5bfde98fe5d..2585a2d2ce2 100644 --- a/include/swift/ABI/ValueWitnessTable.h +++ b/include/swift/ABI/ValueWitnessTable.h @@ -119,8 +119,8 @@ public: // Handle the data witnesses explicitly so we can use more specific // types for the flags enums. - typedef size_t size; - typedef size_t stride; + typedef typename Runtime::StoredSize size; + typedef typename Runtime::StoredSize stride; typedef TargetValueWitnessFlags flags; typedef uint32_t extraInhabitantCount; };