File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4328,8 +4328,8 @@ uint64_t ASTWriter::WriteSpecializationInfoLookupTable(
43284328 IsPartial);
43294329
43304330 uint64_t Offset = Stream.GetCurrentBitNo ();
4331- RecordData::value_type Record[] = {IsPartial ? DECL_PARTIAL_SPECIALIZATIONS
4332- : DECL_SPECIALIZATIONS};
4331+ RecordData::value_type Record[] = {static_cast <RecordData::value_type>(
4332+ IsPartial ? DECL_PARTIAL_SPECIALIZATIONS : DECL_SPECIALIZATIONS) };
43334333 Stream.EmitRecordWithBlob (IsPartial ? DeclPartialSpecializationsAbbrev
43344334 : DeclSpecializationsAbbrev,
43354335 Record, LookupTable);
@@ -6065,7 +6065,9 @@ void ASTWriter::WriteSpecializationsUpdates(bool IsPartial) {
60656065 LookupTable, IsPartial);
60666066
60676067 // Write the lookup table
6068- RecordData::value_type Record[] = {RecordType, getDeclID (D).getRawValue ()};
6068+ RecordData::value_type Record[] = {
6069+ static_cast <RecordData::value_type>(RecordType),
6070+ getDeclID (D).getRawValue ()};
60696071 Stream.EmitRecordWithBlob (UpdateSpecializationAbbrev, Record, LookupTable);
60706072 }
60716073}
You can’t perform that action at this time.
0 commit comments